We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 017e5fa commit 0d1c5d9Copy full SHA for 0d1c5d9
1 file changed
.github/workflows/gh-pages.yml
@@ -58,9 +58,18 @@ jobs:
58
- name: Upload pages artifact
59
uses: actions/upload-pages-artifact@v4
60
with:
61
- path: 'book'
+ path: "book"
62
63
- name: Deploy to GitHub Pages
64
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
65
- id: deployment
66
- uses: actions/deploy-pages@v4
+ id: github-deployment
+ uses: actions/deploy-pages@v4
67
+
68
+ - name: Deploy to Cloudflare Pages
69
+ if: github.ref == 'refs/heads/master' && github.event_name == 'push'
70
+ id: cloudflare-deployment
71
+ uses: cloudflare/wrangler-action@v3
72
+ with:
73
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
74
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
75
+ command: pages deploy book/ --project-name=styxbook --branch=main
0 commit comments