Skip to content

Commit 2b93c69

Browse files
committed
Include commit hash on page
1 parent 2b459c2 commit 2b93c69

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/usr/bin/env sh
22

3-
env
4-
53
mkdir -p dist/install-data
64

75
cp index.html dist/index.html
6+
sed -i "s|<!-- GIT_SHA -->|$GITHUB_SHA|" dist/index.html
87

98
wget --progress=dot:mega https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-x86_64.sh -O dist/install-data/Miniforge3-24.3.0-0-Linux-x86_64.sh
109
wget --progress=dot:mega https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-MacOSX-x86_64.sh -O dist/install-data/Miniforge3-24.3.0-0-MacOSX-x86_64.sh

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ <h2>Contribute to Zwik</h2>
175175

176176
<div id="footer">
177177
<div class="inner">
178-
Zwik-web
178+
zwik-web <!-- GIT_SHA -->
179179
</div>
180180
</div>
181181
</body>

0 commit comments

Comments
 (0)