fix ci.
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-12-31 18:28:57 +01:00
parent aa08851311
commit 938d24dd0c
+3 -2
View File
@@ -26,7 +26,7 @@ steps:
commands:
- go get -u github.com/pressly/goose/...
- cd migrations/postgres
- goose postgres "$DB_CONNECT" up
- goose postgres $DB_CONNECT up
- name: backend-deploy
image: node:14.14.0
@@ -75,9 +75,10 @@ steps:
from_secret: aws_amplify_user_pool_id
AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID:
from_secret: aws_amplify_user_pool_web_client_id
commands:
- 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 run build