We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9ff99 commit 81783bcCopy full SHA for 81783bc
.github/workflows/gh-pages.yml
@@ -41,17 +41,18 @@ jobs:
41
- name: Build
42
run: cargo make build
43
- name: Upload artifact
44
- uses: actions/upload-pages-artifact@v1
+ uses: actions/upload-artifact@v4
45
with:
46
path: ./dist
47
48
deploy:
49
- environment:
50
- name: github-pages
51
- url: ${{ steps.deployment.outputs.page_url }}
52
runs-on: ubuntu-latest
53
needs: build
54
steps:
55
- - name: Deploy to GitHub Pages
56
- id: deployment
57
- uses: actions/deploy-pages@v2
+ - uses: actions/download-artifact@v4
+ - name: Deploy
+ uses: cloudflare/wrangler-action@v3
+ with:
+ apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
+ accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
58
+ command: pages deploy . --project-name=homepage
0 commit comments