Compare commits
No commits in common. "3ffb88f513e70019dd222daa1b1a035d4d933423" and "d0da5a206f728eb8fec0c83da6299860d89c53f5" have entirely different histories.
3ffb88f513
...
d0da5a206f
3 changed files with 3 additions and 5 deletions
|
@ -32,9 +32,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
|
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
|
||||||
export SHA=$(echo "${{ github.sha }}")
|
export SHA=$(echo "${{ github.sha }}")
|
||||||
sed -i "s|\"commit\": \"\"|\"commit\": \"$SHA\"|" /workspace/sangelo/website/static/assets/debug.json || echo "Failed to plant debug info into debug.json. (commit hash)"
|
sed -i "s|\"commit\": \"\"|\"commit\": \"$SHA\"|" /workspace/sangelo/website/static/assets/debug.json
|
||||||
sed -i "s|\"tag\": \"\"|\"tag\": \"$TAG\"|" /workspace/sangelo/website/static/assets/debug.json || echo "Failed to plant debug info into debug.json. (git tag)"
|
sed -i "s|\"tag\": \"\"|\"tag\": \"$TAG\"|" /workspace/sangelo/website/static/assets/debug.json
|
||||||
echo "Successfully planted debug info into debug.json"
|
|
||||||
|
|
||||||
- name: 🐋 Build Container
|
- name: 🐋 Build Container
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -289,7 +289,7 @@
|
||||||
{#if showDebugInfo}
|
{#if showDebugInfo}
|
||||||
<div class="debug-ct">
|
<div class="debug-ct">
|
||||||
<div class="debug-info">
|
<div class="debug-info">
|
||||||
Commit: <pre>{commitHash}</pre>
|
<p>Commit Hash: </p><pre>{commitHash}</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="debug-info">
|
<div class="debug-info">
|
||||||
<p>Git Tag: </p><pre>{gitTag}</pre>
|
<p>Git Tag: </p><pre>{gitTag}</pre>
|
||||||
|
|
|
@ -198,7 +198,6 @@
|
||||||
|
|
||||||
p, pre {
|
p, pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-wrap: nowrap;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue