From c3d54cd13c13bdc95e20bd17c0ac0f21fa1c030b Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 26 Jun 2026 13:27:22 -0400 Subject: [PATCH] [actions] Add gitea deploy action --- .gitea/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..d4cd8cb --- /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 + with: + host: mopidy1.local + username: root + key: ${{ secrets.DEPLOY_KEY }} + script: | + pip uninstall -y mopidy-smartplaylists + pip install git+https://code.lab.unbl.ink/secstate/mopidy-smartplaylists@main + service mopidy restart