File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Antora Documentation Build
33on :
44 # create: # new branches or tags
55 # release: # new releases
6- pull_request :
7- branches : [ main, master ]
6+ push :
7+ branches-ignore : [ main, master ]
88 # push: # on push. This may be removed later
99 # schedule: # periodic - needed because some of the content is from the other repos
1010 # - cron: '30 5,20 * * *' # this is pretty often. Only needed during review phase
3838 - name : Modify site.yml
3939 working-directory : generator
4040 run : |
41- echo ${CI_COMMIT_REF_NAME }
42- sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [${CI_COMMIT_REF_NAME }] \# osi-documentation/" site.yml
41+ echo ${CI_COMMIT_BRANCH }
42+ sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [${CI_COMMIT_BRANCH }] \# osi-documentation/" site.yml
4343 cat site.yml
4444 sed -i -E "s/cd repo/cd generator/" run-build.sh
4545 cat run-build.sh
You can’t perform that action at this time.
0 commit comments