aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-22 18:04:35 +0530
committerRitesh Ghosh <[email protected]>2023-08-22 18:04:35 +0530
commitcb1bed43cef491cd9bd245be8c7abf901d218817 (patch)
treefd0ab4501a656ebb6e0f4f7a53e8cc47ba31acdd /.github
parent45cb7c8035b4453094d86e3a0537017626fdabd3 (diff)
downloadaniwatch-api-cb1bed43cef491cd9bd245be8c7abf901d218817.tar.xz
aniwatch-api-cb1bed43cef491cd9bd245be8c7abf901d218817.zip
feat(cd): decoupled triggering deploy job
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-build.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index 31ab807..2a1a253 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -1,4 +1,4 @@
-name: "Docker Build"
+name: "Docker Build & Trigger Deploy"
on:
release:
@@ -31,6 +31,11 @@ jobs:
ghcr.io/ghoshritesh12/aniwatch:${{ github.event.release.tag_name }}
ghcr.io/ghoshritesh12/aniwatch:latest
+ trigger_deploy:
+ needs: build_docker_image
+ runs-on: ubuntu-latest
+
+ steps:
- name: Trigger render deploy
run: |
curl --request POST \