Skip to content

Commit 7f93144

Browse files
committed
fix: db url quotes
1 parent f2169be commit 7f93144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/api-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
token=$(aws dsql generate-db-connect-admin-auth-token --hostname $DSQL_ENDPOINT)
5353
encoded_token=$(echo "$token" | jq -Rr @uri)
54-
sqlx migrate run --database-url 'postgresql://admin:${encoded_token}@${DSQL_ENDPOINT}/postgres?sslmode=require'
54+
sqlx migrate run --database-url "postgresql://admin:${encoded_token}@${DSQL_ENDPOINT}/postgres?sslmode=require"
5555
5656
- name: Upload to Lambda
5757
run: aws lambda update-function-code --function-name kb2-lambda-function-${{ github.ref == 'refs/heads/main' && 'dev' || 'prod' }} --zip-file fileb://target/lambda/api/bootstrap.zip

0 commit comments

Comments
 (0)