mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +00:00
chore(workflows/publish-docs): update config
This commit is contained in:
parent
cdcc8c8a90
commit
b56a2a9274
5
.github/workflows/publish docs.yml
vendored
5
.github/workflows/publish docs.yml
vendored
@ -16,7 +16,8 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
ref: 'develop'
|
||||||
|
node-version: '16'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: cd docs && npm install
|
- run: cd docs && npm install
|
||||||
- run: |
|
- run: |
|
||||||
@ -27,7 +28,7 @@ jobs:
|
|||||||
git add package.json
|
git add package.json
|
||||||
git commit -m "chore(docs): publish documentation"
|
git commit -m "chore(docs): publish documentation"
|
||||||
git push
|
git push
|
||||||
- run: cd docs && npm build && npm publish
|
- run: cd docs && npm run build && npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- name: Get version
|
- name: Get version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user