Skip to content

Commit 19fe704

Browse files
committed
wait on image creation for deploy
1 parent 52c618e commit 19fe704

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515
# if: needs.check-for-changes.outputs.exitCode == '1'
1616

1717
steps:
18+
- name: Wait for image build workflow
19+
uses: lewagon/wait-on-check-action@v1.3.1
20+
with:
21+
ref: ${{ github.ref }}
22+
check-name: 'Build and push Docker image'
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
wait-interval: 10
25+
1826
- uses: actions/checkout@v2
1927
- uses: superfly/flyctl-actions/setup-flyctl@master
2028

0 commit comments

Comments
 (0)