Skip to content

Commit 6970b85

Browse files
authored
Create deploy.yml
1 parent 1b6fa82 commit 6970b85

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- "app/**"
8+
- "requirements.txt"
9+
- ".github/workflows/deploy.yml"
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Deploy to Azure Web App
16+
uses: azure/webapps-deploy@v2
17+
with:
18+
app-name: YOUR_WEBAPP_NAME
19+
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
20+
package: .

0 commit comments

Comments
 (0)