Update g.yaml
This commit is contained in:
parent
893a531d4f
commit
b22a5d556b
|
@ -35,14 +35,15 @@ jobs:
|
|||
- name: Checkout target repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: owner/target-repo # 替换为目标仓库的 owner/repo
|
||||
path: target-repo
|
||||
repository: jkjoy/photos # 替换为目标仓库的 owner/repo
|
||||
path: /
|
||||
token: ${{ secrets.GITHUB_TOKEN }} # 使用 GitHub Token 进行认证
|
||||
|
||||
# 步骤 6: 将生成的文件复制到目标仓库
|
||||
- name: Copy generated files to target repository
|
||||
run: |
|
||||
cp -r generated_files/ target-repo/ # 替换为你的生成文件路径和目标仓库路径
|
||||
cp -r index/ /
|
||||
cp -r assets/ /
|
||||
|
||||
# 步骤 7: 提交并推送更改到目标仓库
|
||||
- name: Commit and push changes to target repository
|
||||
|
|
Loading…
Reference in New Issue