Skip to content

Commit

Permalink
point github actions to new build script
Browse files Browse the repository at this point in the history
  • Loading branch information
David Schwarz committed Nov 24, 2023
1 parent a121122 commit 94c4d50
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:

- name: build the rules
run: |
docker run -v $(pwd):/documents asciidoctor/docker-asciidoctor .ci/adoc-to-tex.sh rules
docker run -v $(pwd):/documents mrshu/texlive-dblatex .ci/tex-to-pdf.sh rules
docker run -v $(pwd):/documents asciidoctor/docker-asciidoctor .ci/adoc-to-tex.sh superteam_rules
docker run -v $(pwd):/documents mrshu/texlive-dblatex .ci/tex-to-pdf.sh superteam_rules
git submodule update
mkdir -p dist/${GITHUB_REF#refs/heads/}/
rm tmp_*
cp -R ./media *.html *.pdf dist/${GITHUB_REF#refs/heads/}/
./common/ci/000_build_rules.sh rules.adoc
cp -R build/results/rules_html/* build/results/rules.pdf dist/${GITHUB_REF#refs/heads/}/
./common/ci/000_build_rules.sh superteam_rules.adoc
cp -R build/results/superteam_rules_html/* build/results/superteam_rules.pdf dist/${GITHUB_REF#refs/heads/}/
- name: publish the rules
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 94c4d50

Please sign in to comment.