We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 980aa97 commit 8d07da4Copy full SHA for 8d07da4
1 file changed
.github/workflows/antora-build.yml
@@ -38,16 +38,16 @@ jobs:
38
- name: Modify site.yml
39
working-directory: generator
40
run: |
41
- sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [HEAD]/" site.yml
+ sed -i -E "s/(branches\:) \[antora\/base-antora-setup\] \# osi-documentation/\1 [${CI_COMMIT_BRANCH}]/" site.yml
42
cat site.yml
43
- sed -i -E "s/cd repo/cd repo\/generator/" run-build.sh
+ sed -i -E "s/cd repo/cd generator/" run-build.sh
44
cat run-build.sh
45
46
- name: Generate site
47
uses: docker://ghcr.io/asam-ev/project-guide-docker:4
48
with:
49
entrypoint: sh
50
- args: antora --stacktrace --fetch --clean generator/site.yml
+ args: generator/run-build.sh
51
52
- name: Upload artifact
53
uses: actions/upload-artifact@v3
0 commit comments