Portainer service webhook is a GitHub Action for updating a service on Portainer. Action will pull the most up-to-date version of the associated image and re-deploy a service. This will be useful when you have a continuous deployment pipeline.
Input | Description | Default |
---|---|---|
webhook_url | Service Webhook URL | Required |
Save the webhook URL using GitHub Secret.
steps:
- name: Update Service via Webhook
uses: newarifrh/portainer-service-webhook@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}