diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 00000000..d56702c1 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,27 @@ +name: deploy + +on: + push: + branches: + - main + +defaults: + run: + working-directory: /opt/data/webdata/marzipano + +jobs: + prod-build: + if: gitea.repository == 'gcg/marzipano' + runs-on: act-runner-user + timeout-minutes: 5 + steps: + - name: Pull + run: | + git pull + + - name: Notification + uses: actions/telegram-action@main + if: always() + with: + chat_id: ${{ secrets.TG_CHAT_ID }} + token: ${{ secrets.TG_TOKEN }} \ No newline at end of file