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

This commit is contained in:
2020-12-31 18:43:16 +01:00
parent ba8c9b52d8
commit 8896042991
2 changed files with 7 additions and 3 deletions
+2 -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
@@ -56,7 +56,7 @@ steps:
DB_DRIVER:
from_secret: db_driver
DB_CONNECT:
from:secret: db_connect
from_secret: db_connect
commands:
- apt-get update > /dev/null 2>&1
- apt-get -y install awscli zip > /dev/null 2>&1
+5 -1
View File
@@ -27,7 +27,11 @@ functions:
include:
- ./build/api/handler
events:
- http: ANY /api/{proxy+}
- http:
method: ANY
path: /api/{proxy+}
authorizer:
arn: arn:aws:cognito-idp:eu-north-1:670816140020:userpool/eu-north-1_09uLRfo6H
timeout: 30
package: