diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..eedc00d --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,17 @@ + name: Deploy + + on: + push: + branches: [master] + + jobs: + deploy: + runs-on: linux + steps: + - name: Deploy + run: | + cd ~/tipibot + git pull + source .venv/bin/activate + pip install -r requirements.txt + systemctl restart tipibot