Skip to content

Commit 7d71e81

Browse files
authored
Update deploy.yml
1 parent 68eee81 commit 7d71e81

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323
- name: Build book
2424
run: mdbook build
2525

26-
- name: Publish
27-
uses: cloudflare/[email protected]
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v4
28+
- name: Upload artifact
29+
uses: actions/upload-pages-artifact@v3
2830
with:
29-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
30-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
31-
projectName: foundry-book
32-
directory: book
33-
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
31+
# Upload entire repository
32+
path: 'book'
33+
- name: Deploy to GitHub Pages
34+
id: deployment
35+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)