Adding deployment workflow #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Site Deploy | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| site-deploy: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: node:22-alpine | |
| env: | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Install Yarn Dependencies | |
| run: cd apps/front && yarn install | |
| - name: Deploy Site | |
| run: cd apps/front && npm run deploy:worker |