feat(core): 节点 model 中增加初始化时 properties 的保存,调试多边形节点 outline 不符合预期的问题 #1111
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 | |