|
@ -22,11 +22,11 @@ steps: |
|
|
depends_on: [] |
|
|
depends_on: [] |
|
|
environment: |
|
|
environment: |
|
|
DB_CONNECT: |
|
|
DB_CONNECT: |
|
|
from:secret: db_connect |
|
|
|
|
|
|
|
|
from_secret: db_connect |
|
|
commands: |
|
|
commands: |
|
|
- go get -u github.com/pressly/goose/... |
|
|
- go get -u github.com/pressly/goose/... |
|
|
- cd migrations/postgres |
|
|
- cd migrations/postgres |
|
|
- goose postgres '$DB_CONNECT' up |
|
|
|
|
|
|
|
|
- goose postgres "$DB_CONNECT" up |
|
|
|
|
|
|
|
|
- name: backend-deploy |
|
|
- name: backend-deploy |
|
|
image: node:14.14.0 |
|
|
image: node:14.14.0 |
|
|