-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.08 KB
/
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
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install front end dependencies
run: python3.12 -m install_front_end_deps
- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_38205A263301434FB217E0F9871BAA48 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_EB0249AD518046E592B0276511C80E56 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C9B63D7541774E3693BF1AAACE51BA86 }}
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v3
id: deploy-to-webapp
with:
app-name: '247bishops'
slot-name: 'Production'