Removed compose/docker steps as Portainer CE doesn't allow automating deployments.

This commit is contained in:
mc
2025-07-06 15:47:16 +02:00
parent 238202c45b
commit a50bd4cf65
6 changed files with 1 additions and 51 deletions
+1 -7
View File
@@ -20,10 +20,4 @@ jobs:
run: |
IMAGE=gitea.masita.net/mc/messengerapi:latest
docker build -t $IMAGE .
docker push $IMAGE
- name: Redeploy Portainer Stack
run: |
curl -k -X POST "${{ secrets.PORTAINER_URL }}/api/stacks/${{ secrets. PORTAINER_STACK_ID_MESSENGER_API_DEVELOP }}/redeploy" \
-H "Authorization: Bearer ${{ secrets.PORTAINER_TOKEN }}" \
-H "Content-Type: application/json"
docker push $IMAGE