Skip to content

Add or update the Azure App Service build and deployment workflow config #2

Add or update the Azure App Service build and deployment workflow config

Add or update the Azure App Service build and deployment workflow config #2

Workflow file for this run

name: Deploy to Azure App Service
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Zip deploy to Azure
uses: azure/webapps-deploy@v2
with:
app-name: sleep-iq-app
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}