[ci] Add gitea deploy
All checks were successful
Deploy to mopidy1 / deploy (push) Successful in 50s
All checks were successful
Deploy to mopidy1 / deploy (push) Successful in 50s
This commit is contained in:
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal 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.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
|
||||||
Reference in New Issue
Block a user