Replace auth endpoint in config with stored secret
This commit is contained in:
parent
1329683f58
commit
a8f2dbd66e
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,8 @@ steps:
|
||||||
from_secret: BlogEndpoint
|
from_secret: BlogEndpoint
|
||||||
GitEndpoint:
|
GitEndpoint:
|
||||||
from_secret: GitEndpoint
|
from_secret: GitEndpoint
|
||||||
|
AuthEndpoint:
|
||||||
|
from_secret: AuthEndpoint
|
||||||
commands:
|
commands:
|
||||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||||
- apt-get install -y nodejs
|
- apt-get install -y nodejs
|
||||||
|
@ -31,6 +33,7 @@ steps:
|
||||||
- sed -i "s/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
|
- sed -i "s/<DatabaseConnectionString>/$ConnectionString/g" output/appsettings.json
|
||||||
- sed -i "s/<BlogEndpoint>/$BlogEndpoint/g" output/appsettings.json
|
- sed -i "s/<BlogEndpoint>/$BlogEndpoint/g" output/appsettings.json
|
||||||
- sed -i "s/<GitEndpoint>/$GitEndpoint/g" output/appsettings.json
|
- sed -i "s/<GitEndpoint>/$GitEndpoint/g" output/appsettings.json
|
||||||
|
- sed -i "s/<AuthEndpoint>/$AuthEndpoint/g" output/appsettings.json
|
||||||
- cp Infrastructure/website.service output/
|
- cp Infrastructure/website.service output/
|
||||||
- cp -r ./output/* /output
|
- cp -r ./output/* /output
|
||||||
- name: restart service
|
- name: restart service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue