refactor: refactor route

This commit is contained in:
vben
2020-12-03 21:49:32 +08:00
parent 7bfe5f753d
commit c303ec1a23
84 changed files with 1575 additions and 1532 deletions

22
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: deploy
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.5.0
env:
ACTIONS_DEPLOY_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: dist