Skip to content

Commit 5aec41a

Browse files
enforce deploy PR preview happens after environment build
1 parent eed432e commit 5aec41a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/deploy_pr_preview.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
packages: write
1313

1414
steps:
15+
- name: wait for potential build environment update
16+
uses: lewagon/[email protected]
17+
with:
18+
ref: ${{ github.ref }}
19+
check-name: 'Rebuild docker image'
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
1521
- name: checkout
1622
uses: actions/checkout@v2
1723
with:

.github/workflows/update_build_environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- Dockerfile
77
jobs:
88
rebuild-docker:
9+
name: Rebuild docker image
910
runs-on: ubuntu-latest
1011
permissions:
1112
contents: write

0 commit comments

Comments
 (0)