Spaces:
Sleeping
Sleeping
Jingni (Janet) Cai
commited on
Create azure-auto-deploy.yml
Browse files
.github/workflows/azure-auto-deploy.yml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Azure Container Apps Deploy
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- api-only-product
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
build:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
steps:
|
13 |
+
- uses: actions/checkout@v3
|
14 |
+
|
15 |
+
- name: Log in to Azure
|
16 |
+
uses: azure/login@v1
|
17 |
+
with:
|
18 |
+
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
19 |
+
|
20 |
+
- name: Build and deploy Container App
|
21 |
+
uses: azure/container-apps-deploy-action@v1
|
22 |
+
with:
|
23 |
+
appSourcePath: ${{ github.workspace }}
|
24 |
+
acrName: ca49831841baacr
|
25 |
+
containerAppName: group5-cs4-auto
|
26 |
+
resourceGroup: ds553
|