mirror of
https://gitee.com/Charles7c/github-contributor-svg-generator.git
synced 2025-09-13 04:57:13 +08:00
调整 action 脚本
This commit is contained in:
14
.github/workflows/update-continew-contribs.yaml
vendored
14
.github/workflows/update-continew-contribs.yaml
vendored
@@ -39,7 +39,13 @@ jobs:
|
||||
- name: Install deps
|
||||
run: pnpm install
|
||||
|
||||
- name: Run generation script
|
||||
- name: Run continew-admin svg generation script
|
||||
run: pnpm tsx src/main.ts -t ${{ secrets.TOKEN }} -o continew-org -r continew-admin
|
||||
|
||||
- name: Run continew-starter svg generation script
|
||||
run: pnpm tsx src/main.ts -t ${{ secrets.TOKEN }} -o continew-org -r continew-starter
|
||||
|
||||
- name: Run continew-org svg generation script
|
||||
run: pnpm tsx src/main.ts -t ${{ secrets.TOKEN }} -o continew-org -e continew-cloud
|
||||
|
||||
- name: Copy
|
||||
@@ -53,10 +59,4 @@ jobs:
|
||||
target: ${{ secrets.SERVER_PATH }}
|
||||
strip_components: 1
|
||||
|
||||
- name: Update image
|
||||
run: |
|
||||
git config user.email "charles7c@126.com"
|
||||
git config user.name "Charles7c"
|
||||
git add .
|
||||
git commit -m "workflow: update image" && git push origin main || exit 0
|
||||
|
||||
|
Reference in New Issue
Block a user