fix(ci): use curly braces in BOT_TOKEN var to avoid bash parsing issues
This commit is contained in:
@@ -109,7 +109,7 @@ jobs:
|
|||||||
VERSION="${{ steps.version.outputs.version }}"
|
VERSION="${{ steps.version.outputs.version }}"
|
||||||
COMMIT="${{ steps.version.outputs.commit }}"
|
COMMIT="${{ steps.version.outputs.commit }}"
|
||||||
BOT_TOKEN=*** -extract EnvironmentVariables:TELEGRAM_BOT_TOKEN raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
|
BOT_TOKEN=*** -extract EnvironmentVariables:TELEGRAM_BOT_TOKEN raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
|
||||||
if [ -z "$BOT_TOKEN" ]; then exit 0; fi
|
if [ -z "${BOT_TOKEN}" ]; then exit 0; fi
|
||||||
if [ "${{ job.status }}" = "success" ]; then
|
if [ "${{ job.status }}" = "success" ]; then
|
||||||
MSG="✅ *Farolero* v${VERSION} build OK · ${COMMIT}%0AAPK + AAB en builds.freetimelab.es"
|
MSG="✅ *Farolero* v${VERSION} build OK · ${COMMIT}%0AAPK + AAB en builds.freetimelab.es"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user