Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 31, 2021
1 parent 3ddffdc commit 0bd1ea3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ Run [pg_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate a
options: "-O"
```
> NOTE: Ensure the backup output file exists.
Example
```yaml
steps:
- uses: actions/checkout@v2
- name: Create backup file
run: |
touch backups/backup.sql
- name: Postgres Dump Backup
uses: tj-actions/pg-dump@v1
with:
database_url: "postgres://test_user:test_user_password@localhost:5432/testdb"
path: "backups/backup.sql"
options: "-O"

```


## Inputs

Expand Down

0 comments on commit 0bd1ea3

Please sign in to comment.