- name: Deploy to Cloudflare Pages
working-directory: ./apps/frontend
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
MY_VARIABLE: ${{ secrets.MY_VALUE}}
run: |
wrangler pages deploy ./dist --project-name=frontend-preview --branch=main --commit-dirty=true
- name: Deploy to Cloudflare Pages
working-directory: ./apps/frontend
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
MY_VARIABLE: ${{ secrets.MY_VALUE}}
run: |
wrangler pages deploy ./dist --project-name=frontend-preview --branch=main --commit-dirty=true