This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Merge pull request #93 from artemnih/improve #75
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: Deploy Demo to GitHub Pages | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: npm install | |
- name: Build Library | |
run: npm run build:lib | |
- name: Build Angular App | |
run: npm run build:gh | |
- name: Deploy Angular Demo | |
if: success() | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_dir: dist/explorer-app/browser |