added action pipeline

Signed-off-by: Jochen Mehlich <contact@jochenmehlich.de>
This commit is contained in:
Jochen Mehlich 2023-11-18 13:05:36 +01:00
parent 81fb51dfe4
commit a54f06f400

View File

@ -1,19 +1,17 @@
name: Build Webpage
run-name: build page
run-name: $${{gitea.actor}} - build page
on: [push]
jobs:
jobs:
Render:
runs-on: python
runs-on: ubuntu-latest
steps:
- name: install dependencies
run: cd latex-wochenende/onpoint
run: pip3 install -r requirements.txt
- name: Build presentation
run: bash deploy.sh
- name: Save to cache
uses: actions/cache/save@v3
id: cache
with:
path: ./
key: 'latex-presentation'
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.TOKEN}}
- run: apt update && apt install -yqq python3 zip pandoc python3-pip
- run: cd onpoint && pip3 install -r requirements.txt
- run: bash deploy.sh
- run: ls