diff --git a/.github/workflows/sync-to-atomgit-dev.yml b/.github/workflows/sync-to-atomgit-dev.yml index 43df7c131..92d72def5 100644 --- a/.github/workflows/sync-to-atomgit-dev.yml +++ b/.github/workflows/sync-to-atomgit-dev.yml @@ -17,6 +17,7 @@ jobs: with: fetch-depth: 0 lfs: true + ref: v2-dev - name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email run: | git config --global user.name "xiaojunnuo" diff --git a/.github/workflows/sync-to-atomgit.yml b/.github/workflows/sync-to-atomgit.yml index f18e1d17c..b297a6e18 100644 --- a/.github/workflows/sync-to-atomgit.yml +++ b/.github/workflows/sync-to-atomgit.yml @@ -17,6 +17,7 @@ jobs: with: fetch-depth: 0 lfs: true + ref: v2 - name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email run: | git config --global user.name "xiaojunnuo" diff --git a/.github/workflows/sync-to-cnb-dev.yml b/.github/workflows/sync-to-cnb-dev.yml index f59c55b21..15f9e31d6 100644 --- a/.github/workflows/sync-to-cnb-dev.yml +++ b/.github/workflows/sync-to-cnb-dev.yml @@ -17,6 +17,7 @@ jobs: with: fetch-depth: 0 lfs: true + ref: v2-dev - name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email run: | git config --global user.name "xiaojunnuo" @@ -29,6 +30,6 @@ jobs: - name: push to cnb # 4. 执行同步 run: | - git remote add upstream https://cnb.cool/certd/certd + git remote add upstream https://cnb.cool/certd/certd.git git push --set-upstream upstream v2-dev diff --git a/.github/workflows/sync-to-cnb.yml b/.github/workflows/sync-to-cnb.yml index 023da28e6..a13c2e669 100644 --- a/.github/workflows/sync-to-cnb.yml +++ b/.github/workflows/sync-to-cnb.yml @@ -29,6 +29,6 @@ jobs: - name: push to cnb # 4. 执行同步 run: | - git remote add upstream https://cnb.cool/certd/certd + git remote add upstream https://cnb.cool/certd/certd.git git push --set-upstream upstream v2 diff --git a/.github/workflows/sync-to-gitee-dev.yml b/.github/workflows/sync-to-gitee-dev.yml index d893ac014..ff45e7746 100644 --- a/.github/workflows/sync-to-gitee-dev.yml +++ b/.github/workflows/sync-to-gitee-dev.yml @@ -17,6 +17,7 @@ jobs: with: fetch-depth: 0 lfs: true + ref: v2-dev - name: Set git user # 2. 给git命令设置用户名和邮箱,↙↙↙ 改成你的name和email run: | git config --global user.name "xiaojunnuo"