diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 894c5d1..79caee9 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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