ensure git-hash.js is in dist folder
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
- name: Build
|
- name: Build
|
||||||
run: bun run build
|
run: |
|
||||||
- name: Write GITHUB_SHA into dist
|
bun run build
|
||||||
run: echo "export const GITHUB_SHA = '$GITHUB_SHA';" > dist/git-hash.js
|
echo "export const GITHUB_SHA = '$GITHUB_SHA';" > dist/git-hash.js
|
||||||
- name: Create Build Artifact
|
- name: Create Build Artifact
|
||||||
uses: christopherhx/gitea-upload-artifact@v4
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user