Apply settings on build

This commit is contained in:
Robert Marshall 2020-01-03 17:22:39 +00:00
parent 292d7729f2
commit d37388dc98
2 changed files with 4 additions and 0 deletions

View file

@ -25,6 +25,8 @@ steps:
- chmod +x ./build.sh
- ./build.sh
- sed -i "s/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
- sed -i "s/<GitDomain>/$GitDomain/g" output/appsettings.json
- sed -i "s/<GitToken>/$GitToken/g" output/appsettings.json
- cp Infrastructure/website.service output/
- cp -r ./output/* /output
- name: restart service