Skip to content

Commit 6e10027

Browse files
author
liyang1
committed
chore: 测试部署
1 parent 62e9a64 commit 6e10027

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: write
14-
env:
15-
GIT_NAME: 'liyang1'
16-
GIT_EMAIL: '[email protected]'
1714
steps:
1815
# 检查代码库
1916
- name: Checkout code
@@ -29,6 +26,12 @@ jobs:
2926
node-version: lts/*
3027
cache: pnpm
3128

29+
# 设置用户名和邮箱
30+
- name: Set up Git
31+
run: |
32+
git config --global user.name "liyang1"
33+
git config --global user.email "[email protected]"
34+
3235
# 安装依赖
3336
- name: Install dependencies
3437
run: pnpm install --no-frozen-lockfile

0 commit comments

Comments
 (0)