mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
chore: add azureDeploy.yml for demo
This commit is contained in:
parent
bb868ad600
commit
ab83272056
1 changed files with 27 additions and 0 deletions
27
.github/workflows/azureDeploy.yml
vendored
Normal file
27
.github/workflows/azureDeploy.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
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 }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue