Skip to content

Commit 2cc77f6

Browse files
authored
fix: add hash.txt to cd.yaml (deployment) file (#1034)
1 parent ea8bd0c commit 2cc77f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Get Commit Hash and generate Version File
13+
run: echo "$(git rev-parse --short HEAD)" >> public/hash.txt
1214
- env:
1315
DOCKER_APP_IMAGE_NAME: "ghcr.io/hasadna/open-bus-map-search/open-bus-map-search"
1416
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)