Trigger redeploy after image push
- Add deploy job to docker workflow: POST redeploy webhook once the image is pushed (fixes push-webhook race) - README: fix CI/CD tag docs
This commit is contained in:
2 files changed
+11
-2
No files matched your search
@@ -75,3 +75,13 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
deploy:
|
||||
name: Trigger Deploy
|
||||
needs: image
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger Deploy
|
||||
run: |
|
||||
curl --fail -X POST "${{ secrets.WEBHOOK_URL }}"
|
||||
Reference in new issue
Block a user