.gitea/workflows/build.yaml aktualisiert

This commit is contained in:
Jochen 2025-05-15 19:16:52 +00:00
parent d0ee258b3f
commit f9f61d80aa

View File

@ -13,8 +13,7 @@ jobs:
submodules: true submodules: true
token: ${{ secrets.TOKEN}} token: ${{ secrets.TOKEN}}
- run: apt update && apt install -yqq python3 zip pandoc python3-pip python3-venv - run: apt update && apt install -yqq python3 zip pandoc python3-pip python3-venv
- run: cd onpoint && python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt - run: cd onpoint && python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt && cd .. && bash deploy.sh
- run: source onpoint/.venv/bin/activate && bash deploy.sh
- run: ls - 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 - 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
- run: git config --global user.email "fachschaft-wiai.stuve@uni-bamberg.de" && git config --global user.name "FSWIAI CICD Bot" - run: git config --global user.email "fachschaft-wiai.stuve@uni-bamberg.de" && git config --global user.name "FSWIAI CICD Bot"