Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Feb 27, 2023
1 parent ead4020 commit 65e4211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@ runs:
run: docker exec hydrodump hydrodump run
- shell: bash
run: |
docker exec database pg_dump --create --dbname ${{ inputs.db }} --username ${{ inputs.dbuser }} --file /data/${{ inputs.db }}.sql
gzip -c ./data/${{ inputs.db }}.sql > ${{ inputs.db }}.sql.gz
docker exec database pg_dump --create --clean ${{ inputs.db }} | gzip > ${{ inputs.db }}.sql.gz
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ services:
- POSTGRES_HOST=$POSTGRES_HOST
- POSTGRES_PORT=$POSTGRES_PORT
- POSTGRES_DB=$POSTGRES_DB
- PGDATABASE=$POSTGRES_DB
- POSTGRES_USER=$POSTGRES_USER
- PGUSER=$POSTGRES_USER
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
Expand Down

0 comments on commit 65e4211

Please sign in to comment.