Skip to content

Commit

Permalink
Build and deply worker
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Sep 10, 2024
1 parent 2d4f714 commit ca511c3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
cd nuxt-frontend
yarn install && yarn build
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

- name: Deploy to Cloudflare Pages
# uses: cloudflare/pages-action@v1
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: npx wrangler pages deploy dist/ --project-name=canopas-website-dev --branch=main
run: npx wrangler pages deploy dist/ --project-name=canopas-website-dev --branch=main

0 comments on commit ca511c3

Please sign in to comment.