chore(ci): auto-update Portainer stack on release
This commit is contained in:
parent
567efb9ec0
commit
9c312927bf
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -38,3 +38,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:latest
|
docker push ghcr.io/luketainton/roboluke-tasks:latest
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }}
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user