diff --git a/.github/workflows/g.yaml b/.github/workflows/g.yaml index 17d49c9..f9ac430 100644 --- a/.github/workflows/g.yaml +++ b/.github/workflows/g.yaml @@ -47,7 +47,7 @@ jobs: run: | cp -r index/* target-repo/ cp -r assets/ target-repo/ - cp -r images/ target-repo/ + cp -r images/ target-repo/ # 步骤 7: 提交并推送更改到目标仓库 - name: Commit and push changes to target repository @@ -55,6 +55,6 @@ jobs: cd target-repo git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - git add . + git add -f . git commit -m "Automated commit by GitHub Actions" git push \ No newline at end of file diff --git a/template.html b/template.html index a502455..4917e41 100644 --- a/template.html +++ b/template.html @@ -53,13 +53,13 @@

Follow me on ...