Skip to content

Commit 726ca7e

Browse files
authored
Refactor redis-cli command to use URI format
1 parent 38d4fcd commit 726ca7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/redis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
REDIS_PORT: 6379
1919
REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }}
2020
run: |
21-
redis-cli -h $REDIS_HOST --user default -p $REDIS_PORT -a $REDIS_PASSWORD \
22-
XADD "blocks:projects:mainnet" '*' \
23-
data '{"projects_updated": true}'
21+
redis-cli -u "redis://default:$REDIS_PASSWORD@$REDIS_HOST:$REDIS_PORT" \
22+
XADD "blocks:projects:mainnet" '*' \
23+
data '{"projects_updated": true}'

0 commit comments

Comments
 (0)