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 }} run-name: update on ${{ github.sha }}
on: [push] on: [push]
jobs: jobs:
main: update:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: mkdir ~/.ssh - 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 run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm u git
- name: enforce new config - name: enforce new config
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm e 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 - name: send ping to ntfy
run: curl -d "${{ github.sha }} was executed with ${{ job.status }}" https://push.ixvd.net/${{ secrets.NTFY_TOPIC }} run: curl -d "${{ github.sha }} was executed with ${{ job.status }}" https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}