We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe972b9 commit a690bddCopy full SHA for a690bdd
.github/workflows/preview.yml
@@ -39,8 +39,13 @@ jobs:
39
BRANCH_NAME=$(make safe_branch BRANCH=$GITHUB_BRANCH_NAME)
40
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
41
42
- - name: Build the website
+ - name: Export short commit hash
43
run:
44
+ echo "GITHUB_COMMIT_HASH=$(git rev-parse --short
45
+ "$GITHUB_COMMIT_HASH")" >> "$GITHUB_ENV"
46
+
47
+ - name: Build the website
48
+ run: |
49
make build MODE=preview
50
SITE_URL="https://${BRANCH_NAME}.ep-preview.click"
51
GIT_VERSION="${GITHUB_COMMIT_HASH}"
0 commit comments