Skip to content

Commit 8d07da4

Browse files
build: update antora pipeline
Signed-off-by: Philip Windecker <philip.windecker@avenyr.de>
1 parent 980aa97 commit 8d07da4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/antora-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)