mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update move-to-main-repo.yaml
This commit is contained in:
11
.github/workflows/move-to-main-repo.yaml
vendored
11
.github/workflows/move-to-main-repo.yaml
vendored
@@ -104,8 +104,13 @@ jobs:
|
||||
git remote add upstream https://github.com/${target_repo}.git
|
||||
git fetch upstream
|
||||
|
||||
- name: Push
|
||||
- name: Ensure branch exists
|
||||
run: |
|
||||
git push --no-thin https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git test --force
|
||||
|
||||
git checkout -b test || git checkout test
|
||||
git add .
|
||||
git commit -m "Ensure test branch exists" || echo "No changes to commit"
|
||||
|
||||
- name: Push branch
|
||||
run: |
|
||||
git push --set-upstream origin test --force
|
||||
|
||||
|
||||
Reference in New Issue
Block a user