Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yunshuangqwq authored Nov 24, 2024
1 parent 80c14cf commit 100257d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
with:
fetch-depth: 0

# 此处没用(只是设置账号信息罢了不设置也行)
- name: Set up Git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "yunshuangqwq"
# 添加上游信息
- name: Add upstream repository
run: git remote add upstream https://github.com/x-dr/telegraph-Image.git
Expand All @@ -38,8 +32,16 @@ jobs:
run: |
git clean -fdx -e .github
# 设置账号信息
- name: Set up Git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "yunshuangqwq"
# 给README.md一个更新让cf自动部署
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add README.md README.md
git commit -m "Update ck" || echo "No changes to commit"
Expand Down

0 comments on commit 100257d

Please sign in to comment.