Add connection string and attempt to transform it

This commit is contained in:
Robert Marshall 2019-08-26 10:39:30 +01:00
parent 82128bb005
commit c572c0c913
2 changed files with 7 additions and 0 deletions

View file

@ -15,9 +15,13 @@ steps:
volumes:
- name: output
path: /output
environment:
ConnectionString:
from_secret: ConnectionString
commands:
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
- apt-get install -y nodejs
- chmod +x ./build.sh
- ./build.sh
- sed -i 's/<DatabaseConnectionString>/${ConnectionString}/g' appsettings.json
- cp -r ./output/* /output