Skip to content

Commit

Permalink
Update pages-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Brajesh3 authored Apr 6, 2024
1 parent cf2984d commit 72b732a
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,11 @@ jobs:
run: bundle exec jekyll build

deploy:
environment:
name: cloudflare-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
script: "wrangler publish"
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: "publish"

0 comments on commit 72b732a

Please sign in to comment.