-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (32 loc) · 950 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions
name: Azure deployment
on:
push:
branches:
- main
paths-ignore:
- "**.md"
- "app/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
deploy:
name: Deploy to Azure
runs-on: ubuntu-latest
environment:
name: production
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
id: deploy-to-webapp
with:
app-name: resident-manager
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}