Skip to content

Commit 62ef824

Browse files
committed
check preview commit hash build
1 parent 2986d4c commit 62ef824

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
env:
1111
PREVIEW_HOSTNAME: ep-preview.click
1212
GITHUB_BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
13+
GITHUB_COMMIT_HASH: ${{ github.sha }}
1314

1415
steps:
1516
- name: Checkout
@@ -41,6 +42,7 @@ jobs:
4142
run:
4243
make build PREVIEW=true
4344
SITE_URL="https://${BRANCH_NAME}.ep-preview.click"
45+
GIT_VERSION="${GITHUB_COMMIT_HASH}"
4446

4547
- name: Set up SSH key
4648
uses: webfactory/[email protected]

0 commit comments

Comments
 (0)