create azureDeploy.yml file

This commit is contained in:
Vladimir Makarevich 2021-06-22 18:42:58 +03:00 committed by GitHub
parent 7b2be34873
commit 684bae06fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.github/workflows/azureDeploy.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Ngx-Admin Blob storage CI
on:
push:
branches:
- demo
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: '10.x'
- uses: actions/checkout@v2
with:
ref: demo
- name: npm install, build
run: |
npm install
npm run build:demo:prod
- name: 'Deploy to Azure WebApp'
uses: tibor19/static-website-deploy@v1
with:
enabled-static-website: 'true'
folder: 'dist'
connection-string: ${{ secrets.AZURE_CREDENTIALS }}