We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90add38 commit 613142bCopy full SHA for 613142b
.github/workflows/publish docs.yml
@@ -6,6 +6,7 @@ on:
6
- develop
7
paths:
8
- 'docs/docs/**'
9
+ workflow_dispatch:
10
11
jobs:
12
publish-docs:
@@ -24,9 +25,9 @@ jobs:
24
25
git config --local user.email "[email protected]"
26
git config --local user.name "GitHub Action"
27
git add package.json
- git commit -m "Update package version"
28
+ git commit -m "chore(docs): publish documentation"
29
git push
- - run: cd docs && npm publish
30
+ - run: cd docs && npm build && npm publish
31
env:
32
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33
- name: Get version
@@ -48,4 +49,4 @@ jobs:
48
49
owner: context.repo.owner,
50
repo: context.repo.repo,
51
body: '🚀 New version has been released: ' + '${{ needs.publish-docs.outputs.version }}'
- })
52
+ })
0 commit comments