Skip to content

Commit

Permalink
Patch
Browse files Browse the repository at this point in the history
Patch deploy-to-dev
  • Loading branch information
dfeetenby authored and dfeetenby committed Jan 17, 2024
1 parent b693984 commit d8b1e87
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build and deploy ASP.Net Core app to Dev

env:
AZURE_WEBAPP_NAME: service-assessment-service
AZURE_WEBAPP_PACKAGE_PATH: '.'
DOTNET_VERSION: '7.x'
AZURE_WEBAPP_PACKAGE_PATH: "."
DOTNET_VERSION: "7.x"
APP_NAME: SAS-App

on:
Expand All @@ -19,12 +19,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}


- name: Checkout repo
- uses: actions/checkout@v4

Expand Down Expand Up @@ -85,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Dev'
name: "Dev"
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
Expand All @@ -94,6 +88,11 @@ jobs:
with:
name: ${{ env.APP_NAME }}

- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL_CREDS }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
Expand Down

0 comments on commit d8b1e87

Please sign in to comment.