2
0
mirror of https://github.com/offen/website.git synced 2024-12-22 21:10:23 +01:00

do not reexport connection string

This commit is contained in:
Frederik Ring 2019-08-02 10:55:00 +02:00
parent efb8676c8e
commit 124fdc82a7

View File

@ -313,8 +313,7 @@ jobs:
sudo apt-get update && sudo apt-get install -qq -y python-pip libpython-dev
curl -O https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
sudo pip install -q awscli --upgrade
export POSTGRES_CONNECTION_STRING=$(aws secretsmanager get-secret-value --secret-id $SECRET_ID_SERVER_CONNECTION_STRING | jq -r '.SecretString')
go run cmd/migrate/main.go
go run cmd/migrate/main.go -conn $(aws secretsmanager get-secret-value --secret-id $SECRET_ID_SERVER_CONNECTION_STRING | jq -r '.SecretString')
- run:
name: Deploy
working_directory: ~/offen