Get API key from secrets
This commit is contained in:
parent
534b89d0ed
commit
233f946ea6
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,8 @@ steps:
|
|||
from_secret: GitEndpoint
|
||||
AuthEndpoint:
|
||||
from_secret: AuthEndpoint
|
||||
AuthApiKey:
|
||||
from_secret: AuthApiKey
|
||||
commands:
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
- apt-get install -y nodejs
|
||||
|
@ -34,6 +36,7 @@ steps:
|
|||
- sed -i "s/<BlogEndpoint>/$BlogEndpoint/g" output/appsettings.json
|
||||
- sed -i "s/<GitEndpoint>/$GitEndpoint/g" output/appsettings.json
|
||||
- sed -i "s/<AuthEndpoint>/$AuthEndpoint/g" output/appsettings.json
|
||||
- sed -i "s/<AuthApiKey>/$AuthApiKey/g" output/appsettings.json
|
||||
- cp Infrastructure/website.service output/
|
||||
- cp -r ./output/* /output
|
||||
- name: restart service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue