-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 883 Bytes
/
master_webapp-angular.yml
File metadata and controls
35 lines (27 loc) · 883 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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build and deploy Node.js app to Azure Web App - dev-web-wus-wa
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: '10.14'
- name: npm install, build
run: |
npm install
npm run build --if-present
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v1
with:
app-name: 'webapp-angular'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_4fe9e534617446909d801f018bf5af5c }}
package: ./dist/debateandsolution