fix: Fixed reading issue with CONTRIBUTORS.svg file.
This commit is contained in:
parent
bc49f6f7e7
commit
cabc3b036a
|
|
@ -21,18 +21,18 @@ jobs:
|
|||
filter-author: (小弟调调™|Renovate Bot)
|
||||
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
||||
|
||||
- name: Generate Contributors Images
|
||||
uses: jaywcjlove/github-action-contributors@main
|
||||
with:
|
||||
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
|
||||
output: CONTRIBUTORS.svg
|
||||
avatarSize: 42
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm run dash
|
||||
- run: rm -rf .deploy/linux-command.docset
|
||||
|
||||
- name: Generate Contributors Images
|
||||
uses: jaywcjlove/github-action-contributors@main
|
||||
with:
|
||||
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
|
||||
output: .deploy/CONTRIBUTORS.svg
|
||||
avatarSize: 42
|
||||
- run: cp -rp CONTRIBUTORS.svg .deploy/
|
||||
|
||||
- run: npm install @jsdevtools/npm-publish -g
|
||||
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ const rootIndexJSPath = path.resolve(process.cwd(), 'template', 'js', 'index.js'
|
|||
const dataJsonPath = path.resolve(process.cwd(), 'dist', 'data.json');
|
||||
const dataJsonMinPath = path.resolve(process.cwd(), 'dist', 'data.min.json');
|
||||
const cssPath = path.resolve(deployDir, 'css', 'index.css');
|
||||
const contributorsPath = path.resolve(deployDir, 'CONTRIBUTORS.svg');
|
||||
const contributorsPath = path.resolve(process.cwd(), 'CONTRIBUTORS.svg');
|
||||
|
||||
;(async () => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue