fix syntax
Some checks failed
update neo with compose files / update (push) Failing after 3s
update neo with compose files / notify (push) Successful in 2s

This commit is contained in:
Didier Slof 2023-04-29 21:07:35 +02:00
parent e724b315cc
commit 5e906ab31d

View file

@ -5,17 +5,16 @@ jobs:
update: update:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: mkdir ~/.ssh - run: mkdir ~/.ssh
- name: create ssh profile - name: create ssh profile
run: echo "${{ secrets.AUTOMATION_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa run: echo "${{ secrets.AUTOMATION_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
- run: chmod 600 ~/.ssh/id_rsa - run: chmod 600 ~/.ssh/id_rsa
- name: update git - name: update git
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: notify:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 }}