fix(core): 修复polyline points内容变化导致的无法解析问题 & 优化初始化边对齐相关逻辑 #1516
Workflow file for this run
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: Docs Deployment | |
on: [push] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use node v16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: load dependences | |
run: | | |
npm run bootstrap | |
- name: generate static file | |
run: | | |
npm run build:types | |
npm run build | |
rm -rf ./deploy | |
mkdir -p deploy/examples | |
cp -rf ./docs/.vuepress/index.html ./deploy | |
cp -rf ./examples/build/* ./deploy/examples | |
- name: generate mvp | |
run: | | |
cd ./site/mvp | |
npm install | |
npm run build | |
cd ../../ | |
mkdir -p deploy/mvp | |
cp -rf ./site/mvp/dist/* ./deploy/mvp | |
- name: deploy to github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
force_orphan: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./deploy | |
cname: logic-flow.org | |