[actions] Add gitea deploy action
Some checks failed
Deploy to mopidy1 / deploy (push) Failing after 4s

This commit is contained in:
2026-06-26 13:27:22 -04:00
parent 195e067b0f
commit c3d54cd13c

View File

@ -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