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 5454299
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,26 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Debug
run: |
pwd
ls -la
ls -la common
git submodule update
ls -la common
- 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
ls common
cd common
git status
cd ..
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 5454299

Please sign in to comment.