Update workflow
Some checks failed
Build and Deploy / build (push) Failing after 2m1s

This commit is contained in:
2025-04-08 12:26:02 +02:00
parent 8910dfa4c0
commit 6fa5d1e285

View File

@@ -34,7 +34,11 @@ jobs:
- name: Deploy to Portainer
run: |
curl -s -X POST "http://192.168.1.17:9000/api/stacks/27/redeploy" \
-H "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
-H "Content-Type: application/json" \
-d '{}'
curl --location --request PUT 'https://192.168.1.17:9443/api/stacks/27?endpointId=2' \
--header 'X-API-Key: ${{ secrets.PORTAINER_API_KEY }}' \
--header 'Content-Type: application/json' \
--data '{
"prune": false,
"pullImage": true,
"stackFileContent": "version: '\''3.8'\''\nservices:\n jarvis:\n image: gitea.abzk.fr/mrzaiko/jarvis:latest\n container_name: jarvis"
}'