Skip to content

Commit d20e704

Browse files
committed
Fix commit hash
1 parent ed04511 commit d20e704

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
outputs:
1515
commit_hash: ${{ steps.get_commit.outputs.commit_hash }}
1616
steps:
17+
- uses: actions/checkout@v4
1718
- name: Get commit hash
1819
id: get_commit
1920
run: echo "::set-output name=commit_hash::$(git rev-parse HEAD)"
@@ -65,7 +66,9 @@ jobs:
6566

6667
deploy:
6768
runs-on: ubuntu-latest
68-
needs: build-and-push-image
69+
needs:
70+
- build-and-push-image
71+
- commit-hash
6972

7073
steps:
7174
- name: Checkout code

0 commit comments

Comments
 (0)