mirror of
https://github.com/tj-actions/pg-dump.git
synced 2024-12-20 01:18:49 +00:00
Update README.md
This commit is contained in:
parent
d9625e1922
commit
31f442034e
1 changed files with 0 additions and 19 deletions
19
README.md
19
README.md
|
@ -17,25 +17,6 @@ Run [pg_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate a
|
|||
options: "-O"
|
||||
```
|
||||
|
||||
> NOTE: :warning:
|
||||
> * Ensure the backup output file already 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue