Skip to content

Commit

Permalink
reverting back cicd config
Browse files Browse the repository at this point in the history
  • Loading branch information
developersteve committed Jun 6, 2024
1 parent 5a30efb commit 4da5cf3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ jobs:
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}

- name: Clean up build output
working-directory: ./apps/info-dashboard/.next
run: |
rm -rf cache
- name: Deploy to Cloudflare Pages
working-directory: ./apps/info-dashboard/out
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_PROJECT_NAME: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
run: |
npx wrangler pages deploy ./apps/info-dashboard/ --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main
npx wrangler pages deploy . --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main

0 comments on commit 4da5cf3

Please sign in to comment.