-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (22 loc) · 939 Bytes
/
Copy pathmain.yml
File metadata and controls
45 lines (22 loc) · 939 Bytes
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
40
41
42
43
44
45
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
#Change the name to match your course name
#Example name: Deploy HTML Files to AppService - COURSENAME
name: Deploy HTML Files to AppServiceCMST388
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v1
with:
#Change the app-name to match what was provided to you in the publish settings file, this is in a naming convention of 'COURSENAME-STUDENTUID'
app-name: 'CMST388-shochmuth2'
slot-name: 'production'
#Change the publish profile to match what you named your secret setup in GitHub, Example shown below
publish-profile: ${{ secrets.AppServiceCMST388 }}