mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-10 18:03:01 +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
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
ref: 'develop'
|
||||
node-version: '16'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: cd docs && npm install
|
||||
- run: |
|
||||
@ -27,7 +28,7 @@ jobs:
|
||||
git add package.json
|
||||
git commit -m "chore(docs): publish documentation"
|
||||
git push
|
||||
- run: cd docs && npm build && npm publish
|
||||
- run: cd docs && npm run build && npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Get version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user