.gitea/workflows/build.yaml aktualisiert
All checks were successful
Build Webpage / Render and Deploy to wiai.de (push) Successful in 20m1s

This commit is contained in:
Jochen 2025-05-15 21:32:36 +00:00
parent cdfdfd4313
commit ae4b7a30c2

View File

@ -6,14 +6,13 @@ on:
- production
jobs:
Render and Deploy to wiai.de:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.TOKEN}}
- run: apt update && apt install -yqq python3 zip python3-pip python3-venv libxml2-dev libxslt-dev python3-dev gcc wget tar
- run: wget -qO- https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-amd64.tar.gz | tar xz --strip-components=1 -C /usr/local/bin pandoc-2.19.2/bin/pandoc
- run: apt update && apt install -yqq python3 zip python3-pip python3-venv libxml2-dev libxslt-dev python3-dev gcc wget tar pandoc
- run: cd onpoint && python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt && cd .. && bash deploy.sh
- run: ls
- run: cd .. && git clone https://cicd:${{secrets.TOKEN}}@git.stuve-bamberg.de/serverPush/wiai.de.git wiai && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.de.html latex-wochenende/svg wiai/latex-wochenende && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.en.html latex-wochenende/svg wiai/latex-weekend