Skip to content

Commit

Permalink
Update create-user-db.yml
Browse files Browse the repository at this point in the history
attempt to enter empty password to fix missing password error  for user postgres
  • Loading branch information
BMG93 authored Apr 23, 2024
1 parent a704832 commit 8ec88f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/create-user-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
run: 'gcloud sql users create ${{ steps.generate-db-id.outputs.number }} --instance=idp-postgres-db --password=${{ steps.generate-db-pw.outputs.password }}'
- name: 'pg login to db'
continue-on-error: true
run: 'gcloud sql connect idp-postgres-db --user=postgres'
run: |
'gcloud sql connect idp-postgres-db --user=postgres'
\n
- name: 'pg grant db user permission on db'
continue-on-error: true
run: 'GRANT CONNECT ON DATABASE ${{ steps.generate-db-id.outputs.number }} TO ${{ steps.generate-db-id.outputs.number }};'
Expand Down

0 comments on commit 8ec88f7

Please sign in to comment.