Skip to content

Commit 79dc1cc

Browse files
committed
Added wait for completion for Docker build
- this allows us to wait until the Docker build has completed, so CI doesn't show green until the build is done
1 parent 80b473a commit 79dc1cc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/canary.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ jobs:
7777
path: 'ghost/core/ghost-*.tgz'
7878
retention-days: 4
7979

80-
- name: Invoke workflow in another repo with inputs
81-
uses: benc-uk/workflow-dispatch@v1
80+
- name: Invoke Docker container build
81+
uses: aurelien-baudet/workflow-dispatch@v2
8282
with:
8383
token: ${{ secrets.CANARY_DOCKER_BUILD }}
8484
workflow: .github/workflows/deploy.yml
8585
ref: 'refs/heads/main'
8686
repo: TryGhost/Ghost-Moya
87-
inputs: ${{ env.CANARY_BUILD_INPUTS }}
87+
inputs: ${{ env.CANARY_BUILD_INPUTS }}
88+
wait-for-completion-timeout: 10m
89+
wait-for-completion-interval: 20s

0 commit comments

Comments
 (0)