Update g.yaml

This commit is contained in:
浪子 2024-12-27 16:09:38 +08:00
parent c53491052b
commit 95499d75ed
1 changed files with 3 additions and 3 deletions

View File

@ -38,14 +38,14 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: jkjoy/photos repository: jkjoy/photos
path: / path: target-repo
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
# 步骤 6: 将生成的文件复制到目标仓库 # 步骤 6: 将生成的文件复制到目标仓库
- name: Copy generated files to target repository - name: Copy generated files to target repository
run: | run: |
cp -r index/ / cp -r index/ target-repo/
cp -r assets/ / cp -r assets/ target-repo/
# 步骤 7: 提交并推送更改到目标仓库 # 步骤 7: 提交并推送更改到目标仓库
- name: Commit and push changes to target repository - name: Commit and push changes to target repository