Compare commits

..

2 commits

Author SHA1 Message Date
3ffb88f513 [c] fix weird text wrapping with debug mode
All checks were successful
Build and push docker image / publish (push) Successful in 57s
2024-06-05 09:10:15 +02:00
87115e9d55 [a] add echo msg output to task 2024-06-05 09:09:48 +02:00
3 changed files with 5 additions and 3 deletions

View file

@ -32,8 +32,9 @@ 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 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|\"tag\": \"\"|\"tag\": \"$TAG\"|" /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)"
echo "Successfully planted debug info into debug.json"
- name: 🐋 Build Container - name: 🐋 Build Container
run: | run: |

View file

@ -289,7 +289,7 @@
{#if showDebugInfo} {#if showDebugInfo}
<div class="debug-ct"> <div class="debug-ct">
<div class="debug-info"> <div class="debug-info">
<p>Commit Hash: </p><pre>{commitHash}</pre> Commit: <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>

View file

@ -198,6 +198,7 @@
p, pre { p, pre {
margin: 0; margin: 0;
text-wrap: nowrap;
} }
} }
} }