ngx-ui-scroll demo app manual deployment #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ngx-ui-scroll demo app manual deployment | |
on: | |
workflow_dispatch: | |
inputs: | |
cause: | |
description: 'Deploy reason' | |
required: true | |
default: 'Manual triggering' | |
jobs: | |
deploy-on-dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install and Build | |
run: | | |
npm run ci:lib | |
npm run ci:demo | |
npm run build:demo | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@4 | |
with: | |
branch: gh-pages | |
folder: dist/demo |