File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
2+ # More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+ name : Build and deploy Python app to Azure Web App - screencast20
5+
6+ on :
7+ push :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build-and-deploy :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@master
17+
18+ - name : Set up Python version
19+ uses : actions/setup-python@v1
20+ with :
21+ python-version : ' 3.8'
22+
23+ - name : Build using AppService-Build
24+ uses : azure/appservice-build@v1
25+ with :
26+ platform : python
27+ platform-version : ' 3.8'
28+
29+ - name : ' Deploy to Azure Web App'
30+ uses : azure/webapps-deploy@v1
31+ with :
32+ app-name : ' screencast20'
33+ slot-name : ' production'
34+ publish-profile : ${{ secrets.AzureAppService_PublishProfile_b928012312c44f82b061fb204f14d5bb }}
You can’t perform that action at this time.
0 commit comments