seperate jobs
This commit is contained in:
parent
15fa70bd4d
commit
e724b315cc
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@ name: update neo with compose files
|
|||
run-name: update on ${{ github.sha }}
|
||||
on: [push]
|
||||
jobs:
|
||||
main:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: mkdir ~/.ssh
|
||||
|
@ -13,5 +13,9 @@ jobs:
|
|||
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm u git
|
||||
- name: enforce new config
|
||||
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm e
|
||||
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: send ping to ntfy
|
||||
run: curl -d "${{ github.sha }} was executed with ${{ job.status }}" https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
Reference in a new issue