mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-17 07:13:01 +00:00
chore: add publish engine actions
This commit is contained in:
parent
6932c3bdc7
commit
546b22d8c8
2
.github/workflows/publish docs.yml
vendored
2
.github/workflows/publish docs.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
paths:
|
paths:
|
||||||
- 'docs/**'
|
- 'docs/docs/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docs:
|
publish-docs:
|
||||||
|
|||||||
28
.github/workflows/publish engine.yml
vendored
Normal file
28
.github/workflows/publish engine.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Update and Publish Docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# branches:
|
||||||
|
# - 'release/[0-9]+.[0-9]+.[0-9]+-beta'
|
||||||
|
paths:
|
||||||
|
- 'packages/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-engine:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
- run: cd docs && npm install
|
||||||
|
- run: |
|
||||||
|
npm run build
|
||||||
|
- run: npm run pub:prerelease
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
- name: Get version
|
||||||
|
id: get_version
|
||||||
|
run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")"
|
||||||
@ -105,6 +105,7 @@ body {
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user