diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 00000000..b3726a72 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: Deploy to mopidy1 +on: + push: + branches: [main] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: SSH and upgrade package + uses: appleboy/ssh-action@v1.0.3 + with: + host: mopidy-dev.service + username: root + key: ${{ secrets.JAIL_KEY }} + script: | + pip uninstall -y Iris + pip install git+https://code.lab.unbl.ink/secstate/Iris@main + service mopidy restart