File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 4444 npm install
4545 npm run dash
4646 cp CONTRIBUTORS.svg .deploy
47- rm -rf .deploy/linux-command.docset
4847
4948 - name : Create Tag
5049 id : create_tag
6059 run : |
6160 echo "<entry><version>${{steps.create_tag.outputs.versionNumber}}</version><url>https://jaywcjlove.github.io/linux-command/linux-command.docset.tgz</url></entry>" > .deploy/linux-command-docset.xml
6261
63- - name : Deploy
64- uses : peaceiris/actions-gh-pages@v3
65- with :
66- commit_message : ' [${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
67- github_token : ${{ secrets.GITHUB_TOKEN }}
68- publish_dir : ./.deploy
69- user_name : github-actions[bot]
70- user_email : github-actions[bot]@users.noreply.github.com
71-
7262 - name : Generate Changelog
7363 id : changelog
7464 uses : jaywcjlove/changelog-generator@main
@@ -122,6 +112,17 @@ jobs:
122112 http://localhost:9665/
123113 ```
124114
115+ - run : rm -rf .deploy/linux-command.docset
116+
117+ - name : Deploy
118+ uses : peaceiris/actions-gh-pages@v3
119+ with :
120+ commit_message : ' [${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
121+ github_token : ${{ secrets.GITHUB_TOKEN }}
122+ publish_dir : ./.deploy
123+ user_name : github-actions[bot]
124+ user_email : github-actions[bot]@users.noreply.github.com
125+
125126 - run : npm publish
126127 continue-on-error : true
127128 name : 📦 linux-command publish to NPM
You can’t perform that action at this time.
0 commit comments