Skip to content

Commit

Permalink
chore: fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Apr 30, 2024
1 parent c9431df commit 0332c2b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/examples/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ usage:
workflows:
postgres-example:
jobs:
push-dir:
docker:
- image: cimg/base:current
- image: cimg/postgres:16.2
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: pass
context: the-context-has-ATLAS_TOKEN
steps:
- checkout
- atlas-orb/setup:
version: "latest"
cloud_token_env: "ATLAS_TOKEN"
- atlas-orb/migrate_push:
dir_name: my-cool-project
dev_url: postgres://postgres:pass@localhost:5432/postgres?sslmode=disable
- push-dir:
docker:
- image: cimg/base:current
- image: cimg/postgres:16.2
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: pass
context: the-context-has-ATLAS_TOKEN
steps:
- checkout
- atlas-orb/setup:
version: "latest"
cloud_token_env: "ATLAS_TOKEN"
- atlas-orb/migrate_push:
dir_name: my-cool-project
dev_url: postgres://postgres:pass@localhost:5432/postgres?sslmode=disable

0 comments on commit 0332c2b

Please sign in to comment.