File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 9
9
default : " master"
10
10
11
11
permissions :
12
- contents : write
12
+ contents : read
13
+ pages : write
14
+ id-token : write
13
15
14
16
jobs :
15
17
build :
16
18
runs-on : ubuntu-latest
17
19
steps :
18
20
- uses : actions/checkout@v4
19
- - name : " Fetch gh-pages branch"
20
- run : git fetch origin gh-pages --depth=1
21
21
- name : " Set permissions"
22
22
run : chmod -R a+rwX $(pwd)
23
23
- name : " Build site"
26
26
quay.io/openssl-ci/docs:20240711-115832 sh -c "\
27
27
git config --global --add safe.directory /mnt && \
28
28
python build.py ${{ github.event.inputs.branch }}"
29
- - name : " Push branch"
30
- run : |
31
- git config user.name openssl-machine
32
- git config user.email [email protected]
33
- git push origin gh-pages
29
+ - name : " Change branch"
30
+ run : git switch gh-pages
31
+ - name : " Setup GitHub Pages"
32
+ uses : actions/configure-pages@v5
33
+ - name : " Upload artifact"
34
+ uses : actions/upload-pages-artifact@v3
35
+ with :
36
+ path : " ."
37
+ - name : " Deploy to GitHub Pages"
38
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments