From a8f2dbd66e8188716f73ea98277047cc293a1bd0 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Sun, 12 Apr 2020 14:43:34 +0100 Subject: [PATCH] Replace auth endpoint in config with stored secret --- Infrastructure/.drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Infrastructure/.drone.yml b/Infrastructure/.drone.yml index 6cf5ed4..fe6742d 100644 --- a/Infrastructure/.drone.yml +++ b/Infrastructure/.drone.yml @@ -23,6 +23,8 @@ steps: from_secret: BlogEndpoint GitEndpoint: from_secret: GitEndpoint + AuthEndpoint: + from_secret: AuthEndpoint commands: - curl -sL https://deb.nodesource.com/setup_12.x | bash - - apt-get install -y nodejs @@ -31,6 +33,7 @@ steps: - sed -i "s//$ConnectionString/g" output/appsettings.json - sed -i "s//$BlogEndpoint/g" output/appsettings.json - sed -i "s//$GitEndpoint/g" output/appsettings.json + - sed -i "s//$AuthEndpoint/g" output/appsettings.json - cp Infrastructure/website.service output/ - cp -r ./output/* /output - name: restart service