mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
chore(workflows/publish-docs): add workflow_dispatch trigger
This commit is contained in:
parent
90add387ac
commit
613142b2d8
5
.github/workflows/publish docs.yml
vendored
5
.github/workflows/publish docs.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
paths:
|
paths:
|
||||||
- 'docs/docs/**'
|
- 'docs/docs/**'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docs:
|
publish-docs:
|
||||||
@ -24,9 +25,9 @@ jobs:
|
|||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git add package.json
|
git add package.json
|
||||||
git commit -m "Update package version"
|
git commit -m "chore(docs): publish documentation"
|
||||||
git push
|
git push
|
||||||
- run: cd docs && npm publish
|
- run: cd docs && npm 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