File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
3838 - name : Modify site.yml
3939 working-directory : generator
4040 run : |
41- sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [HEAD ]/" site.yml
41+ sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [${CI_COMMIT_BRANCH} ]/" site.yml
4242 cat site.yml
43- sed -i -E "s/cd repo/cd repo\/ generator/" run-build.sh
43+ sed -i -E "s/cd repo/cd generator/" run-build.sh
4444 cat run-build.sh
4545
4646 - name : Generate site
4747 uses : docker://ghcr.io/asam-ev/project-guide-docker:4
4848 with :
4949 entrypoint : sh
50- args : antora --stacktrace --fetch --clean generator/site.yml
50+ args : generator/run-build.sh
5151
5252 - name : Upload artifact
5353 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments