We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ee798b + ee2db44 commit 395de4aCopy full SHA for 395de4a
.github/workflows/build.yml
@@ -2,6 +2,11 @@ name: Build
2
3
on: [push, pull_request]
4
5
+permissions:
6
+ id-token: write
7
+ contents: read
8
+ pages: write
9
+
10
jobs:
11
ubuntu-build:
12
runs-on: ubuntu-latest
@@ -35,3 +40,22 @@ jobs:
35
40
with:
36
41
name: pdf-macos
37
42
path: '*.pdf'
43
+ deploy-to-github-pages:
44
+ needs: ubuntu-build
45
+ runs-on: ubuntu-latest
46
+ if: github.ref == 'refs/heads/main'
47
+ steps:
48
+ - name: Setup Pages
49
+ uses: actions/configure-pages@v5
50
+ - name: Download PDF artifact
51
+ uses: actions/download-artifact@v4
52
+ with:
53
+ name: pdf-linux
54
+ path: ./slides
55
+ - name: Upload artifact
56
+ uses: actions/upload-pages-artifact@v3
57
58
+ path: '.'
59
+ - name: Deploy to GitHub Pages
60
+ id: deployment
61
+ uses: actions/deploy-pages@v4
0 commit comments