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