Skip to content

Commit

Permalink
Use wrangler deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Feb 6, 2025
1 parent 2083a5e commit 0e3e5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: publish --env=dev
command: deploy --env=dev
- name: Publish Prod
if: endsWith(github.ref, '/main')
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: publish
command: deploy

0 comments on commit 0e3e5b0

Please sign in to comment.