add monkey scripts #5
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: Code Push | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: TS Type Check | |
run: npx tsc --noEmit | |
- name: Build Qinglong | |
run: npm run build | |
- name: Deploy Qinglong | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist/qinglong | |
branch: qinglong | |
- name: Deploy Qinglong | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist/monkey | |
branch: monkey | |