File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 44
44
npm install
45
45
npm run dash
46
46
cp CONTRIBUTORS.svg .deploy
47
- rm -rf .deploy/linux-command.docset
48
47
49
48
- name : Create Tag
50
49
id : create_tag
60
59
run : |
61
60
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
62
61
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
-
72
62
- name : Generate Changelog
73
63
id : changelog
74
64
uses : jaywcjlove/changelog-generator@main
@@ -122,6 +112,17 @@ jobs:
122
112
http://localhost:9665/
123
113
```
124
114
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
+
125
126
- run : npm publish
126
127
continue-on-error : true
127
128
name : 📦 linux-command publish to NPM
You can’t perform that action at this time.
0 commit comments