1 parent 87a5430 commit a68ce1aCopy full SHA for a68ce1a
1 file changed
.github/workflows/deploy-gh-pages.yml
@@ -3,13 +3,17 @@ name: Deploy to GitHub Pages
3
permissions:
4
contents: write
5
pages: write
6
+ id-token: write
7
8
on:
9
push:
10
branches: [ "main", "master" ]
11
workflow_dispatch:
12
jobs:
13
deploy:
14
+ environment:
15
+ name: github-pages
16
+ url: ${{ steps.deployment.outputs.page_url }}
17
runs-on: ubuntu-latest
18
steps:
19
- uses: thatgeeman/workflows/quarto-ghp@master
@@ -20,3 +24,12 @@ jobs:
20
24
test -f _docs/index.html
21
25
grep -q 'id="quarto-sidebar"' _docs/index.html
22
26
grep -q 'href="./basics.html"' _docs/index.html
27
+ - name: Configure GitHub Pages
28
+ uses: actions/configure-pages@v5
29
+ - name: Upload generated site
30
+ uses: actions/upload-pages-artifact@v4
31
+ with:
32
+ path: _docs
33
+ - name: Deploy to GitHub Pages
34
+ id: deployment
35
+ uses: actions/deploy-pages@v4
0 commit comments