Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dennislee928 committed May 21, 2024
1 parent 7f9f0c1 commit 90631e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:

deploy_worker:
runs-on: ubuntu-latest
needs: build

needs: build_and_deploy
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -52,6 +51,7 @@ deploy_worker:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
environment: production
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: wrangler publish
env:
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 comments on commit 90631e8

Please sign in to comment.