File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 21
21
build :
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - name : Checkout repository
25
- uses : actions/checkout@v4
24
+ - uses : actions/checkout@v4
26
25
27
- - name : Set up Python
28
- uses : actions/setup-python@v5
26
+ - uses : actions/setup-python@v5
29
27
with :
30
28
python-version : ' 3.11'
31
29
@@ -38,20 +36,26 @@ jobs:
38
36
run : |
39
37
python scripts/generate_timeline.py
40
38
41
- - name : Setup Pages
39
+ - name : Setup Pages (auto-enable if needed)
42
40
uses : actions/configure-pages@v5
41
+ with :
42
+ enablement : true
43
43
44
44
- name : Upload artifact for Pages
45
45
uses : actions/upload-pages-artifact@v4
46
46
with :
47
- path : . # publish the repo root; change if your script outputs to a subfolder
47
+ path : . # or ./site if your script writes there
48
48
49
49
deploy :
50
50
environment :
51
51
name : github-pages
52
52
url : ${{ steps.deployment.outputs.page_url }}
53
53
runs-on : ubuntu-latest
54
54
needs : build
55
+ permissions :
56
+ pages : write
57
+ id-token : write
58
+ actions : read
55
59
steps :
56
60
- name : Deploy to GitHub Pages
57
61
id : deployment
You can’t perform that action at this time.
0 commit comments