ci: notify build-done webhook on success — generic, reusable
This commit is contained in:
@@ -28,8 +28,8 @@ jobs:
|
||||
docker push git.homelab.local:8443/kaykayyali/iron-requiem:latest
|
||||
docker push git.homelab.local:8443/kaykayyali/iron-requiem:${{ github.sha }}
|
||||
|
||||
- name: Notify Hermes to deploy
|
||||
- name: Notify build complete
|
||||
run: |
|
||||
curl -X POST http://100.93.173.42:8644/webhook/iron-requiem \
|
||||
curl -X POST http://100.93.173.42:8644/webhooks/build-done \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"image": "git.homelab.local:8443/kaykayyali/iron-requiem:latest", "commit": "${{ github.sha }}"}'
|
||||
-d '{"repository": "${{ github.repository }}", "commit": "${{ github.sha }}", "image": "git.homelab.local:8443/kaykayyali/iron-requiem:latest", "status": "success"}'
|
||||
|
||||
Reference in New Issue
Block a user