izklopi izpis indexa, če se \index
nikoli ne pokliče
#13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pripravi Arhive | |
on: | |
push: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: lunarstarlight/fmfdelo-texlive:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Pripravi vsebino strani | |
run : | | |
mkdir gh-pages | |
cp docs/* gh-pages | |
mkdir gh-pages/arhivi | |
cd predloge | |
for dirname in $(ls); do | |
if [ -d "$dirname" ]; then | |
cd $dirname | |
echo "Compiling $dirname" | |
basename="Priimek-Vpisna-Leto" | |
texname=$basename.tex | |
pdfname=$basename.pdf | |
zipname=../../gh-pages/arhivi/$dirname.zip | |
zip -r $zipname * | |
latexmk -pdf $texname | |
verapdf -f 2b $pdfname | |
zip $zipname $pdfname | |
cd .. | |
fi | |
done | |
cd .. | |
- name: GitHub Pages action | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./gh-pages | |
enable_jekyll: true |