Updates from PR review

This commit is contained in:
Jason Freeberg
2021-10-24 21:45:21 -07:00
parent a702d187d1
commit 704eb638ce
12 changed files with 24 additions and 25 deletions
+4 -5
View File
@@ -2,11 +2,11 @@
# More GitHub Actions for Azure: https://github.com/Azure/actions
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions
name: Build and deploy Python app to Azure Web App - __sitename__
name: Build and deploy Python app to Azure Web App
env:
AZURE_WEBAPP_NAME: your-app-name # set this to the name of your Azure Web App
PYTHON_VERSION: '11' # set this to the Python version to use
PYTHON_VERSION: '3.8' # set this to the Python version to use
on:
push:
@@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
environment:
name: '__slotname__'
name: 'Development'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
@@ -62,6 +62,5 @@ jobs:
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: '__sitename__'
slot-name: '__slotname__'
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}