Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

Commit 1ff4d6f

Browse files
committed
ci: switch to GitHub Actions Pages deployment, suppress Jekyll
1 parent d0d1748 commit 1ff4d6f

2 files changed

Lines changed: 22 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ on:
77
workflow_dispatch:
88

99
permissions:
10-
contents: write
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
1117

1218
jobs:
13-
deploy:
19+
build:
1420
runs-on: ubuntu-latest
1521
steps:
1622
- uses: actions/checkout@v4
@@ -23,8 +29,18 @@ jobs:
2329
- name: Build
2430
run: mdbook build
2531

26-
- name: Deploy to gh-pages
27-
uses: peaceiris/actions-gh-pages@v4
32+
- name: Upload Pages artifact
33+
uses: actions/upload-pages-artifact@v3
2834
with:
29-
github_token: ${{ secrets.GITHUB_TOKEN }}
30-
publish_dir: ./book
35+
path: ./book
36+
37+
deploy:
38+
needs: build
39+
runs-on: ubuntu-latest
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

docs/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)