diff --git a/.gitea/workflows/gitops-automatic-deployment.yml b/.gitea/workflows/gitops-automatic-deployment.yml index d1b75f7..ac97a85 100644 --- a/.gitea/workflows/gitops-automatic-deployment.yml +++ b/.gitea/workflows/gitops-automatic-deployment.yml @@ -20,6 +20,13 @@ jobs: run: | rsync -a --delete --exclude='.git/' --exclude='.gitea/' . /Gitops_Destination/ - - name: Notify via NTFY + - name: Trigger Material MKDocs Container Re-Deployment via Portainer Webhook run: | - curl -d "https://docs.bunny-lab.io - Workflow Completed" https://ntfy.bunny-lab.io/gitea-runners \ No newline at end of file + curl --fail --show-error --silent --insecure \ + -X POST \ + "https://192.168.3.48:9443/api/stacks/webhooks/132460b4-289a-4a0c-abde-3551a9b4cda0" + + - name: Notify via NTFY + if: always() + run: | + curl -d "https://docs.bunny-lab.io - Workflow Completed" https://ntfy.bunny-lab.io/gitea-runners