Skip to content

Commit bdb7c21

Browse files
committed
Fix deploy hash check
1 parent c71c178 commit bdb7c21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ jobs:
226226
runs-on: ubuntu-24.04
227227
needs: [deploy-be]
228228
steps:
229+
- name: Get service githash
230+
id: git
231+
run: |
232+
hash=$(git rev-list -1 HEAD -- backend)
233+
echo "githash=$hash" >> $GITHUB_OUTPUT
229234
- name: Wait stable deployment
230235
run: |
231236
while true; do
@@ -369,6 +374,11 @@ jobs:
369374
runs-on: ubuntu-24.04
370375
needs: [deploy-fe]
371376
steps:
377+
- name: Get service githash
378+
id: git
379+
run: |
380+
hash=$(git rev-list -1 HEAD -- frontend)
381+
echo "githash=$hash" >> $GITHUB_OUTPUT
372382
- name: Wait stable deployment
373383
run: |
374384
while true; do

0 commit comments

Comments
 (0)