Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/preview_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,11 @@ jobs:
for attempt in 1 2 3 4 5 6; do
RESPONSE=$(curl -fsS -X POST https://slack.com/api/apps.icon.set \
-H "Authorization: Bearer ${SLACK_CONFIG_ACCESS_TOKEN}" \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "app_id=${APP_ID}" \
--data-urlencode "url=https://${PREVIEW_HOST}/tipbot-preview.png")
-F "app_id=${APP_ID}" \
-F "file=@public/tipbot-preview.png")
OK=$(echo "$RESPONSE" | jq -r '.ok')
ERROR=$(echo "$RESPONSE" | jq -r '.error // empty')
if [ "$OK" = "true" ] || { [ "$ERROR" != "internal_error" ] && [ "$ERROR" != "icon_not_accessible" ]; } || [ "$attempt" = "6" ]; then break; fi
if [ "$OK" = "true" ] || [ "$ERROR" != "internal_error" ] || [ "$attempt" = "6" ]; then break; fi
sleep 5 # 5 seconds
done
OK=$(echo "$RESPONSE" | jq -r '.ok')
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
secrets: |
FEE_PAYER_PRIVATE_KEY_MAINNET
FEE_PAYER_PRIVATE_KEY_TESTNET
RPC_CREDENTIALS
SECRET_KEY
SLACK_CLIENT_ID
SLACK_CLIENT_SECRET
Expand All @@ -69,6 +70,7 @@ jobs:
env:
FEE_PAYER_PRIVATE_KEY_MAINNET: ${{ secrets.FEE_PAYER_PRIVATE_KEY_MAINNET }}
FEE_PAYER_PRIVATE_KEY_TESTNET: ${{ secrets.FEE_PAYER_PRIVATE_KEY_TESTNET }}
RPC_CREDENTIALS: ${{ secrets.RPC_CREDENTIALS }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
SLACK_APP_ID: ${{ vars.SLACK_APP_ID }}
SLACK_CLIENT_ID: ${{ secrets.SLACK_CLIENT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"@tanstack/router-plugin": "1.167.35",
"accounts": "^0.14.1",
"chat": "4.27.0",
"hono": "4.12.27",
"hono": "4.12.34",
"kysely": "0.28.17",
"nanoid": "^5.1.11",
"nanoid": "^5.1.16",
"ox": "0.14.20",
"react": "19.2.5",
"react-dom": "19.2.5",
Expand Down
Loading
Loading