diff --git a/gitea/workflows/deploy.yml b/gitea/workflows/deploy.yml index afbe1ac..dd23ee5 100644 --- a/gitea/workflows/deploy.yml +++ b/gitea/workflows/deploy.yml @@ -48,7 +48,7 @@ jobs: - name: Trigger Portainer Webhook if: success() run: | - RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "\n%{http_code}" -s -o /dev/null) + RESPONSE=$(curl -X POST "${{ secrets.PORTAINER_WEBHOOK_FRONT }}" -w "%{http_code}" -s -o /dev/null) if [ "$RESPONSE" -eq 200 ] || [ "$RESPONSE" -eq 201 ]; then exit 0 else