name: Marzipano Prod on: push: branches: [main] defaults: run: working-directory: /opt/runner/workdir/marzipano jobs: prod-build: name: Produktivumgebung if: gitea.repository == 'gcg/marzipano' runs-on: act-runner-user steps: - name: Pull run: | git restore . git fetch --all git reset --hard origin/main git lfs pull - name: Build run: | hugo --minify --gc --baseURL "https://vr.cantorgymnasium.de/" - name: Deploy run: | cd public rsync -azr --delete ./ /opt/data/webdata/marzipano/ - name: Notification uses: actions/telegram-action@main if: always() with: chat_id: ${{ secrets.TG_CHAT_ID }} token: ${{ secrets.TG_TOKEN }}