Skip to content

Commit 4fc709d

Browse files
committed
fix: ci
1 parent 249af72 commit 4fc709d

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
run: nix build .#for-production
2323

2424
- name: Upload artifact
25-
id: deployment
2625
uses: actions/upload-pages-artifact@v4
2726
with:
2827
path: result/
@@ -34,18 +33,6 @@ jobs:
3433
name: Production
3534
url: ${{ steps.deployment.outputs.page_url }}
3635
steps:
37-
- name: Clone repository
38-
uses: actions/checkout@v4
39-
40-
- name: Download artifact
41-
uses: actions/download-artifact@v4
42-
with:
43-
name: result
44-
path: result
45-
46-
- name: Deploy
47-
uses: cloudflare/wrangler-action@v3
48-
with:
49-
wranglerVersion: "4.61.0"
50-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
51-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
36+
- name: Deploy to GitHub Pages
37+
id: deployment
38+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)