Skip to content

Commit 546b22d

Browse files
committed
chore: add publish engine actions
1 parent 6932c3b commit 546b22d

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/publish docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- develop
77
paths:
8-
- 'docs/**'
8+
- 'docs/docs/**'
99

1010
jobs:
1111
publish-docs:

.github/workflows/publish engine.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update and Publish Docs
2+
3+
on:
4+
push:
5+
# branches:
6+
# - 'release/[0-9]+.[0-9]+.[0-9]+-beta'
7+
paths:
8+
- 'packages/**'
9+
10+
jobs:
11+
publish-engine:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '14'
19+
registry-url: 'https://registry.npmjs.org'
20+
- run: cd docs && npm install
21+
- run: |
22+
npm run build
23+
- run: npm run pub:prerelease
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
- name: Get version
27+
id: get_version
28+
run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")"

packages/editor-skeleton/src/layouts/workbench.less

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ body {
105105
right: 0;
106106
bottom: 0;
107107
z-index: -1;
108+
overflow: hidden;
108109

109110
&.active {
110111
z-index: 999;

0 commit comments

Comments
 (0)