ci: trigger PORT auto-redeploy after image push (container QR.knit)
Build and Push Docker Image / build (push) Successful in 50s

This commit is contained in:
Jason Stedwell
2026-07-18 20:25:42 -05:00
parent b3d61e027a
commit e073a0f05d
+8
View File
@@ -33,3 +33,11 @@ jobs:
- name: Prune dangling images on host - name: Prune dangling images on host
if: always() if: always()
run: docker image prune -f 2>/dev/null || true run: docker image prune -f 2>/dev/null || true
- name: Trigger PORT redeploy
if: success()
run: |
curl -fsS -X POST https://port.alwisp.com/hooks/gitea \
-H "X-Deploy-Token: ${{ secrets.WEBHOOK_SECRET }}" \
-H "Content-Type: application/json" \
-d "{\"container\":\"QR.knit\"}" || echo "PORT redeploy trigger failed (non-fatal)"