[a] add echo msg output to task
This commit is contained in:
parent
d0da5a206f
commit
87115e9d55
1 changed files with 3 additions and 2 deletions
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue