./create_sheet_template.sh <sheet_number with leading zeros for proper alphabetic order> <number of tasks>
Example for sheet 1 with 5 tasks:
./create_sheet_template.sh 01 5
git add sheet_01
Now add the new sheet to the github workflow to build the pdf in CICD.
- Open
.github/workflows/github-actions.yaml
- Add
sheet_XX.tex
to to list ofroot_files
:
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
...
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: |
sheet_01/assignment_01.tex
sheet_02/assignment_02.tex
...
sheet_XX/assignment_XX.tex<-- ADD HERE
...
Not commit changes
git commit -am "empty sheet 1"
cd sheet_01 && make
or check github action run artifact.