File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Update pages
2
- on : [push]
2
+ on :
3
+ push :
4
+ branches :
5
+ - source # Only build the "source" branch ("master" = built, published pages, this can't be changed for organization GitHub Pages)
3
6
4
7
jobs :
5
8
update-web :
13
16
shell : bash
14
17
env :
15
18
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
16
- run : |
17
- # Only build the "source" branch ("master" = built, published pages,
18
- # this can't be changed for organization GitHub Pages)
19
- test ${GITHUB_REF##*/} == "source" || exit 0
20
-
19
+ run : |
21
20
# Install dependency
22
21
pip install docutils
23
22
29
28
make clean
30
29
make
31
30
32
- # Delete workflow for the output ("master") branch,
33
- # so GitHub won't even trigger a build for it.
34
- rm .github/workflows/main.yml
35
31
git add --all .
36
32
git commit -m "Automatically built pages at $(git rev-parse --short HEAD)" || exit 0
37
33
You can’t perform that action at this time.
0 commit comments