seperate jobs

This commit is contained in:
Didier Slof 2023-04-29 21:06:33 +02:00
parent 15fa70bd4d
commit e724b315cc

View file

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