mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
indentation issue
This commit is contained in:
parent
cb41047c3b
commit
acfff2c4fa
1 changed files with 6 additions and 1 deletions
7
.github/workflows/render-preview-deploy.yml
vendored
7
.github/workflows/render-preview-deploy.yml
vendored
|
|
@ -261,7 +261,12 @@ jobs:
|
|||
PGUSER: ${{ secrets.RENDER_DS_PG_USER }}
|
||||
PGDATABASE: ${{ env.PR_NUMBER }}
|
||||
run: |
|
||||
PGPASSWORD=${{ secrets.RENDER_DS_PG_PASS }} psql -h $PGHOST -p $PGPORT -U $PGUSER -d postgres -c "drop database \"$PGDATABASE\" ;"
|
||||
if PGPASSWORD=${{ secrets.RENDER_DS_PG_PASS }} psql -h $PGHOST -p $PGPORT -U $PGUSER -lqt | cut -d \| -f 1 | grep -qw $PGDATABASE; then
|
||||
echo "Database $PGDATABASE exists, deleting..."
|
||||
PGPASSWORD=${{ secrets.RENDER_DS_PG_PASS }} psql -h $PGHOST -p $PGPORT -U $PGUSER -d postgres -c "drop database \"$PGDATABASE\" ;"
|
||||
else
|
||||
echo "Database $PGDATABASE does not exist."
|
||||
fi
|
||||
|
||||
suspend-review-app:
|
||||
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'suspend-review-app' }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue