chore(ci): auto-update Portainer stack on release

This commit is contained in:
Luke Tainton (ltainton) 2023-10-20 21:16:52 +01:00
parent 4dedea1949
commit ebeaa551ff
No known key found for this signature in database

View File

@ -38,3 +38,12 @@ jobs:
run: |
docker push ghcr.io/luketainton/roboluke-tasks:latest
docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }}
deploy:
name: Update Portainer Deployment
runs-on: ubuntu-latest
steps:
- uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
method: POST