Skip to content

Commit ff4c0b3

Browse files
feat: Add deploy.yml for Azure Web App deployment workflow
1 parent 608353b commit ff4c0b3

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy to Azure Web App
2+
3+
on:
4+
push:
5+
branches:
6+
- production
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Upload Docker Compose to Azure Web App
17+
uses: azure/webapps-deploy@v2
18+
with:
19+
app-name: 'querypal-app'
20+
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
21+
images: ''
22+
configuration-file: 'docker-compose.yml'

0 commit comments

Comments
 (0)