Browse Source

fix ci.

main
Gisle Aune 4 years ago
parent
commit
938d24dd0c
  1. 5
      .drone.yml

5
.drone.yml

@ -26,7 +26,7 @@ steps:
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
@ -75,9 +75,10 @@ steps:
from_secret: aws_amplify_user_pool_id from_secret: aws_amplify_user_pool_id
AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID: AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID:
from_secret: aws_amplify_user_pool_web_client_id from_secret: aws_amplify_user_pool_web_client_id
commands: commands:
- cd svelte-ui - cd svelte-ui
- echo AWS_AMPLIFY_USER_POOL_ID=$AWS_AMPLIFY_USER_POOL_ID > build.env
- echo AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID=AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID >> build.env
- npm install - npm install
- npm run build - npm run build

Loading…
Cancel
Save