We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf1605 commit 7ea1f3cCopy full SHA for 7ea1f3c
1 file changed
.github/workflows/deploy-production.yml
@@ -75,20 +75,7 @@ jobs:
75
# Cleanup
76
cd /tmp && rm -rf watchtower-deploy
77
78
- - name: Trigger Portainer deployment
79
- run: |
80
- curl -sf -X PUT \
81
- "${{ secrets.PORTAINER_URL }}/api/stacks/${{ secrets.PORTAINER_STACK_ID }}/git/redeploy?endpointId=${{ secrets.PORTAINER_ENDPOINT_ID }}" \
82
- -H "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
83
- -H "Content-Type: application/json" \
84
- -d '{
85
- "PullImage": true,
86
- "RepositoryAuthentication": true,
87
- "RepositoryUsername": "${{ secrets.GITEA_USERNAME }}",
88
- "RepositoryPassword": "${{ secrets.GITEA_TOKEN }}"
89
- }'
90
-
91
- - name: Wait for deployment
+ - name: Wait for webhook deployment
92
run: sleep 30
93
94
- name: Health check
0 commit comments