Skip to content

Commit

Permalink
Add or update the App Service deployment workflow configuration from …
Browse files Browse the repository at this point in the history
…Azure Portal.
  • Loading branch information
johnlees committed Dec 4, 2020
1 parent d824433 commit a870338
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/master_poppunk-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Python app to Azure Web App - poppunk-web

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Set up Python version
uses: actions/setup-python@v1
with:
python-version: '3.8'

- name: Build using AppService-Build
uses: azure/appservice-build@v2
with:
platform: python
platform-version: '3.8'

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
with:
app-name: 'poppunk-web'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_86ae6afecf18496896788ae7e928e3cc }}

0 comments on commit a870338

Please sign in to comment.