Skip to content

Merge branch 'reflexjs:master' into master #5

Merge branch 'reflexjs:master' into master

Merge branch 'reflexjs:master' into master #5

Workflow file for this run

# 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 - smb
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, and test
run: |
npm install
npm run build --if-present
npm run test --if-present
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
with:
app-name: 'smb'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_cc2cdda6dbc14caca7395062691d479d }}
package: .