Compare commits

...

2 Commits

Author SHA1 Message Date
1100be75c5 correct permission on shell script 2025-08-31 17:11:21 +02:00
59001d5e97 create git hash html 2025-08-31 17:10:57 +02:00
3 changed files with 16 additions and 4 deletions

View File

@@ -17,9 +17,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: bun install run: bun install
- name: Build - name: Build
run: | run: bun run build
bun run build - name: Write Git-Hash into html
echo "export const GITHUB_SHA = '$GITHUB_SHA';" > dist/git-hash.js run: ./pipeline/create-git-hash-html.sh
- name: Create Build Artifact - name: Create Build Artifact
uses: christopherhx/gitea-upload-artifact@v4 uses: christopherhx/gitea-upload-artifact@v4
with: with:

View File

@@ -1 +0,0 @@
#!/bin/bash

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# create git-hash.html
echo "<!DOCTYPE html>
<html>
<head>
<title>Git Hash</title>
</head>
<body>
<pre>GITHUB_SHA = '$GITHUB_SHA';</pre>
</body>
</html>" > dist/git-hash.html