Skip to content

Commit 5eb324b

Browse files
committed
build: add a deploy webhook
1 parent 39f6222 commit 5eb324b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@ jobs:
9999
subject-name: ghcr.io/${{ env.IMAGE_NAME }}
100100
subject-digest: ${{ steps.build-and-push.outputs.digest }}
101101
push-to-registry: true
102+
103+
- name: Deploy to Portainer
104+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
105+
run: curl -X POST https://portainer.nickthesick.com/api/stacks/webhooks/5d360aa6-d0d6-4d64-8cf5-0ce6b0494ed3

0 commit comments

Comments
 (0)