From ceeb1ef6ae229ff50fbb5b850a59913dfc642430 Mon Sep 17 00:00:00 2001 From: Hector Morales Date: Thu, 27 Oct 2022 01:58:16 -0500 Subject: [PATCH 1/5] Trigger the pipeline From c2bcc7cf95c3826bfe1597c27c7e10f89a1bd340 Mon Sep 17 00:00:00 2001 From: Hector Morales Date: Thu, 27 Oct 2022 02:59:50 -0500 Subject: [PATCH 2/5] Trigger the pipeline From 46cb2c6162929be4b2c5b91358cc43b080ff333a Mon Sep 17 00:00:00 2001 From: Hector Morales Date: Thu, 27 Oct 2022 03:15:11 -0500 Subject: [PATCH 3/5] Swap deployment slots --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dfd41b0b5..ba5a8198e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -131,5 +131,17 @@ stages: displayName: 'Azure App Service Deploy: website' inputs: azureSubscription: 'Resource Manager - Tailspin - Space Game' + deployToSlotOrASE: 'true' + resourceGroupName: 'tailspin-space-game-rg' + slotName: 'swap' appName: '$(WebAppNameStaging)' package: '$(Pipeline.Workspace)/drop/$(buildConfiguration)/*.zip' + - task: AzureAppServiceManage@0 + displayName: 'Swap deployment slots' + inputs: + azureSubscription: 'Resource Manager - Tailspin - Space Game' + resourceGroupName: 'tailspin-space-game-rg' + webAppName: '$(WebAppNameStaging)' + sourceSlot: 'swap' + targetSlot: 'production' + action: 'Swap Slots' \ No newline at end of file From 6ea39d224833f3e8d47362a017960d84abcdf5a6 Mon Sep 17 00:00:00 2001 From: Hector Morales Date: Thu, 27 Oct 2022 03:21:52 -0500 Subject: [PATCH 4/5] Change text and colors on the home page --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- Tailspin.SpaceGame.Web/wwwroot/css/site.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index f7c4c8860..70e7cc000 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -5,7 +5,7 @@
Space Game -

An example site for learning

+

Welcome to the official Space Game site!

diff --git a/Tailspin.SpaceGame.Web/wwwroot/css/site.scss b/Tailspin.SpaceGame.Web/wwwroot/css/site.scss index 7bd6ecaa7..4e7acf8c1 100644 --- a/Tailspin.SpaceGame.Web/wwwroot/css/site.scss +++ b/Tailspin.SpaceGame.Web/wwwroot/css/site.scss @@ -22,7 +22,7 @@ section { .intro { height: 350px; - background-color: #666; + background-color: green; background-image: url('/images/space-background.svg'); background-size: 1440px; background-position: center top; From 841cd09eed6c4a5c27f38fb62c9cb19d3ac2de86 Mon Sep 17 00:00:00 2001 From: Hector Morales Date: Thu, 27 Oct 2022 03:27:16 -0500 Subject: [PATCH 5/5] Revert "Change text and colors on the home page" This reverts commit 6ea39d224833f3e8d47362a017960d84abcdf5a6. --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- Tailspin.SpaceGame.Web/wwwroot/css/site.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 70e7cc000..f7c4c8860 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -5,7 +5,7 @@
Space Game -

Welcome to the official Space Game site!

+

An example site for learning

diff --git a/Tailspin.SpaceGame.Web/wwwroot/css/site.scss b/Tailspin.SpaceGame.Web/wwwroot/css/site.scss index 4e7acf8c1..7bd6ecaa7 100644 --- a/Tailspin.SpaceGame.Web/wwwroot/css/site.scss +++ b/Tailspin.SpaceGame.Web/wwwroot/css/site.scss @@ -22,7 +22,7 @@ section { .intro { height: 350px; - background-color: green; + background-color: #666; background-image: url('/images/space-background.svg'); background-size: 1440px; background-position: center top;