20 lines
486 B
YAML
20 lines
486 B
YAML
|
name: Build latex and deploy
|
||
|
run-name: ${{ gitea.actor }} is building latex
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
checkout:
|
||
|
runs-on: latex-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- name: compile
|
||
|
run: make
|
||
|
- name: Prepare pages
|
||
|
run: |
|
||
|
mkdir public
|
||
|
mv build/2021_Algebra_I.pdf build/2021_Algebra_I.log README.md public
|
||
|
- name: Deploy to pages
|
||
|
uses: actions/pages@v1
|
||
|
with:
|
||
|
index-title: 'WS21/22: Algebra I'
|