Skip to content

Commit

Permalink
Added workflow to build entry rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianH99 committed Feb 17, 2024
1 parent 3087e61 commit c3663ed
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_entry_rules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
paths:
- 'onstage_entry_rules.adoc'

jobs:
build:
name: build_onstage_rules
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: build the rules
run: |
docker run -v $(pwd):/documents asciidoctor/docker-asciidoctor .ci/adoc-to-tex.sh onstage_entry_rules
docker run -v $(pwd):/documents mrshu/texlive-dblatex .ci/tex-to-pdf.sh onstage_entry_rules
mkdir -p dist/${GITHUB_REF#refs/heads/}/
cp -R ./media rules_documents/* dist/${GITHUB_REF#refs/heads/}/
- name: publish the rules
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
keep_files: True

0 comments on commit c3663ed

Please sign in to comment.