Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- "app/**"
- "requirements.txt"
- ".github/workflows/deploy.yml"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
with:
app-name: YOUR_WEBAPP_NAME
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: .