Fix Discord deploy avatar URL
This commit is contained in:
@@ -67,7 +67,7 @@ jobs:
|
||||
fi
|
||||
RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
AVATAR_URL="${{ vars.DISCORD_AVATAR_URL }}"
|
||||
AVATAR_URL="${AVATAR_URL:-https://flockpal.app/FlockPal-Paint.png}"
|
||||
AVATAR_URL="${AVATAR_URL:-https://www.flockpal.app/FlockPal-Paint.png}"
|
||||
COMMIT_MESSAGE="$(git -C /docker/FlockPal-dev log -1 --pretty=%s 2>/dev/null || printf '%s' '${{ github.sha }}')"
|
||||
json_escape() {
|
||||
printf '%s' "$1" | sed 's/\\/\\\\/g; s/"/\\"/g'
|
||||
@@ -167,7 +167,7 @@ jobs:
|
||||
fi
|
||||
RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
AVATAR_URL="${{ vars.DISCORD_AVATAR_URL }}"
|
||||
AVATAR_URL="${AVATAR_URL:-https://flockpal.app/FlockPal-Paint.png}"
|
||||
AVATAR_URL="${AVATAR_URL:-https://www.flockpal.app/FlockPal-Paint.png}"
|
||||
COMMIT_MESSAGE="$(git -C /docker/FlockPal log -1 --pretty=%s 2>/dev/null || printf '%s' '${{ github.sha }}')"
|
||||
json_escape() {
|
||||
printf '%s' "$1" | sed 's/\\/\\\\/g; s/"/\\"/g'
|
||||
|
||||
Reference in New Issue
Block a user