[ci] Only run one action per push
This commit is contained in:
@ -32,25 +32,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- name: SSH and upgrade package
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build assets
|
||||
run: npm run build
|
||||
|
||||
# TODO: Add your deploy step here, for example:
|
||||
# - name: Build and push Docker image
|
||||
# run: |
|
||||
# docker build -t iris .
|
||||
# docker push your-registry/iris:latest
|
||||
#
|
||||
# Or scp to a server:
|
||||
# - name: Deploy via rsync
|
||||
# run: |
|
||||
# rsync -avz --delete mopidy_iris/ user@server:/path/to/deploy
|
||||
host: mopidy-dev.service
|
||||
username: root
|
||||
key: ${{ secrets.JAIL_KEY }}
|
||||
script: |
|
||||
pip uninstall -y mopidy-iris
|
||||
pip install git+https://code.lab.unbl.ink/secstate/Iris@main
|
||||
service mopidy restart
|
||||
|
||||
Reference in New Issue
Block a user