Skip to content

Commit

Permalink
ci: Add Cloudflare login step before deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and whitphx committed Feb 2, 2025
1 parent fa40d00 commit 0cc4259
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ jobs:
path: website
- name: Install wrangler
run: npm install -g wrangler
- name: Login to Cloudflare
run: echo "${{ secrets.CLOUDFLARE_API_TOKEN }}" | npx wrangler login
- name: Publish
uses: cloudflare/wrangler-action@v3
id: publish
Expand Down Expand Up @@ -527,6 +529,8 @@ jobs:
path: website
- name: Install wrangler
run: npm install -g wrangler
- name: Login to Cloudflare
run: echo "${{ secrets.CLOUDFLARE_API_TOKEN }}" | npx wrangler login
- name: Publish
uses: cloudflare/wrangler-action@v3
with:
Expand Down

0 comments on commit 0cc4259

Please sign in to comment.