From de85589289bfdf17133281db057e47d140629469 Mon Sep 17 00:00:00 2001 From: David Schwarz Date: Fri, 24 Nov 2023 23:09:45 +0100 Subject: [PATCH] point github actions to new build script --- .github/workflows/build.yml | 20 ++++++++++++++------ common | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a743ad3..56d4ec2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,15 +6,23 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Debug + run: | + pwd + ls -la + - 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 diff --git a/common b/common index 14250f4..fa40641 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 14250f4d0f67051765d81510f3fa1e32f0f93c21 +Subproject commit fa40641d4778e077f9214fc2531dddcdd70521ec