From 5e8418cac8b96e5b11d4f12ac04f9988224fe215 Mon Sep 17 00:00:00 2001 From: Vladimir Makarevich <86239491+VladimirMakarevich23@users.noreply.github.com> Date: Tue, 22 Jun 2021 18:53:43 +0300 Subject: [PATCH] create new workflow - azureDeploy.yml file --- .github/workflows/azureDeploy.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/azureDeploy.yml diff --git a/.github/workflows/azureDeploy.yml b/.github/workflows/azureDeploy.yml new file mode 100644 index 00000000..fc4f4f69 --- /dev/null +++ b/.github/workflows/azureDeploy.yml @@ -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 }}