From 95499d75ed1129b23a0f2686ec528af93bebc078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Fri, 27 Dec 2024 16:09:38 +0800 Subject: [PATCH] Update g.yaml --- .github/workflows/g.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/g.yaml b/.github/workflows/g.yaml index f525b5f..fbd3aac 100644 --- a/.github/workflows/g.yaml +++ b/.github/workflows/g.yaml @@ -38,14 +38,14 @@ jobs: uses: actions/checkout@v3 with: repository: jkjoy/photos - path: / + path: target-repo token: ${{ secrets.TOKEN }} # 步骤 6: 将生成的文件复制到目标仓库 - name: Copy generated files to target repository run: | - cp -r index/ / - cp -r assets/ / + cp -r index/ target-repo/ + cp -r assets/ target-repo/ # 步骤 7: 提交并推送更改到目标仓库 - name: Commit and push changes to target repository