File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ paths :
4+ - ' onstage_entry_scoresheets/**'
5+ - ' preamble.tex'
6+ - ' committee_list.tex'
7+
8+ jobs :
9+ build :
10+ name : build main rules
11+ runs-on : ubuntu-20.04
12+
13+ steps :
14+ - name : Checkout repository with submodules
15+ uses : actions/checkout@v2
16+ with :
17+ submodules : true
18+
19+ - name : build main rules
20+ run : |
21+ docker run -v $(pwd):/documents asciidoctor/docker-asciidoctor .ci/adoc-to-tex.sh onstage_entry_scoresheets
22+ docker run -v $(pwd):/documents mrshu/texlive-dblatex .ci/tex-to-pdf.sh onstage_entry_scoresheets
23+ mkdir -p dist/${GITHUB_REF#refs/heads/}/
24+ cp -R ./media rules_documents/* dist/${GITHUB_REF#refs/heads/}/
25+
26+ - name : publish entry scoresheets
27+ uses : peaceiris/actions-gh-pages@v3
28+ with :
29+ github_token : ${{ secrets.GITHUB_TOKEN }}
30+ publish_dir : ./dist
31+ keep_files : True
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ paths :
4+ - ' onstage_scoresheets/**'
5+ - ' preamble.tex'
6+ - ' committee_list.tex'
7+
8+ jobs :
9+ build :
10+ name : build main rules
11+ runs-on : ubuntu-20.04
12+
13+ steps :
14+ - name : Checkout repository with submodules
15+ uses : actions/checkout@v2
16+ with :
17+ submodules : true
18+
19+ - name : build main rules
20+ run : |
21+ docker run -v $(pwd):/documents asciidoctor/docker-asciidoctor .ci/adoc-to-tex.sh onstage_scoresheets
22+ docker run -v $(pwd):/documents mrshu/texlive-dblatex .ci/tex-to-pdf.sh onstage_scoresheets
23+ mkdir -p dist/${GITHUB_REF#refs/heads/}/
24+ cp -R ./media rules_documents/* dist/${GITHUB_REF#refs/heads/}/
25+
26+ - name : publish main scoresheets
27+ uses : peaceiris/actions-gh-pages@v3
28+ with :
29+ github_token : ${{ secrets.GITHUB_TOKEN }}
30+ publish_dir : ./dist
31+ keep_files : True
You can’t perform that action at this time.
0 commit comments