ensure git-hash.js is in dist folder

This commit is contained in:
2025-08-31 17:01:10 +02:00
parent 2b489e83ba
commit 83f872577b

View File

@@ -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: