Files
mopidy-smartplaylists/.gitea/workflows/deploy.yml
Colin Powell c3d54cd13c
Some checks failed
Deploy to mopidy1 / deploy (push) Failing after 4s
[actions] Add gitea deploy action
2026-06-26 13:27:22 -04:00

20 lines
493 B
YAML

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