Skip to content

Commit 451d5d9

Browse files
committed
Upgrade docs workflow
commit 2f7e8503ff335568179148d5bd421e0d3cccd61e Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 14:22:16 2026 +0200 Remove docs-upgrade branch allowance commit b4c7810 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 14:16:37 2026 +0200 Rename docs worflow docs.yml commit 60b1241 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:34:10 2026 +0200 Bump setup-node action commit 5dc561b Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:26:39 2026 +0200 Revert "Remove unused Slidev stuff" This reverts commit 396f64a. commit 21bb731 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:26:30 2026 +0200 Revert "Replace manual ruby/jekyll with action" This reverts commit bd22e2a. commit b6654e0 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:20:49 2026 +0200 Replace manual ruby/jekyll with action commit e897b47 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:13:36 2026 +0200 Bump actions/checkout commit 4d637c2 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 12:12:14 2026 +0200 Remove unused Slidev stuff commit b97d971 Author: Dylan Hand <dylan.hand@gmail.com> Date: Wed Apr 15 11:58:54 2026 +0200 Move to actions-based docs gen/deploy
1 parent 66b78d7 commit 451d5d9

1 file changed

Lines changed: 23 additions & 8 deletions

File tree

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,24 @@ on:
33
push:
44
branches:
55
- main
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: true
15+
616
jobs:
717
build-and-deploy:
818
runs-on: ubuntu-latest
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deploy.outputs.page_url }}
922
steps:
10-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
1124
with:
1225
repository: giellalt/giellalt.github.io
1326

@@ -16,10 +29,10 @@ jobs:
1629
which realpath
1730
1831
- name: Setup Node.js for Slidev
19-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v6
2033
with:
2134
node-version: '20'
22-
35+
2336
- name: Install Slidev and dependencies
2437
run: |
2538
npm install -g @slidev/cli
@@ -67,9 +80,11 @@ jobs:
6780
fi
6881
done
6982
70-
- name: deploy gh pages
71-
uses: peaceiris/actions-gh-pages@v3
83+
- name: Upload artifact
84+
uses: actions/upload-pages-artifact@v5
7285
with:
73-
github_token: ${{ secrets.GITHUB_TOKEN }}
74-
publish_dir: _site
75-
enable_jekyll: false
86+
path: _site
87+
88+
- name: Deploy to GitHub Pages
89+
id: deploy
90+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)