Skip to content

Commit

Permalink
Fix infra deployment (#1738)
Browse files Browse the repository at this point in the history
* Workflow - Fix deployment target name to staging

* Infra - staging slot - add reference to parent
  • Loading branch information
wicksipedia authored Nov 21, 2023
1 parent ed389a6 commit 035ee31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
path: ./.github
load-mode: strict

- name: Deploy to production
- name: Deploy to staging
id: deploy
uses: ./.github/actions/deploy
with:
Expand Down
1 change: 1 addition & 0 deletions infra/appService.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ resource appService 'Microsoft.Web/sites@2022-03-01' = {
}

resource stagingSlot 'Microsoft.Web/sites/slots@2022-09-01' = {
parent: appService
name: '${productionName}-staging'
location: location
kind: kind
Expand Down

0 comments on commit 035ee31

Please sign in to comment.