chore: update workflows config.

This commit is contained in:
jaywcjlove 2021-08-12 19:46:56 +08:00
parent 5bcd5b1793
commit 7bf475d4b3
1 changed files with 18 additions and 16 deletions

View File

@ -16,12 +16,27 @@ jobs:
- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@v1.4.2
uses: jaywcjlove/changelog-generator@v1.4.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
- run: npm install
- run: npm run build
- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
- run: npm run dash
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy
- name: Create Release
uses: ncipollo/release-action@v1
with:
@ -36,18 +51,5 @@ jobs:
```
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
- run: npm install
- run: npm run build
- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
- run: npm run dash
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy