Skip to content

Merge pull request #21 from helloflask/v4 #1

Merge pull request #21 from helloflask/v4

Merge pull request #21 from helloflask/v4 #1

# 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 - helloflask-watchlist
on:
push:
branches:
- main
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.13'
- name: Build using AppService-Build
uses: azure/appservice-build@v1
with:
platform: python
platform-version: '3.13'
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v1
with:
app-name: 'helloflask-watchlist'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_b15b6e77c1654503848c65630cf25fd5 }}