File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: Antora Documentation Build
22
33on :
44 # create: # new branches or tags
5- release : # new releases
5+ # release: # new releases
66 pull_request :
7- branches : [ main ]
8- push : # on push. This may be removed later
7+ branches : [ main, master ]
8+ # 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
1111
3838 - name : Modify site.yml
3939 working-directory : generator
4040 run : |
41- sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [${{CI_COMMIT_BRANCH}}] \# osi-documentation/" site.yml
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
4243 cat site.yml
4344 sed -i -E "s/cd repo/cd generator/" run-build.sh
4445 cat run-build.sh
You can’t perform that action at this time.
0 commit comments