diff --git a/.gitea/workflows/update-server.yml b/.gitea/workflows/update-server.yml index a33a02f..ae88ffd 100644 --- a/.gitea/workflows/update-server.yml +++ b/.gitea/workflows/update-server.yml @@ -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 }} \ No newline at end of file