Update move-to-main-repo.yaml

This commit is contained in:
CanbiZ 2025-03-11 16:00:21 +01:00 committed by GitHub
parent f099d01779
commit a9e8c392f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,12 +114,20 @@ jobs:
git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE
cd ProxmoxVE cd ProxmoxVE
git checkout -b "$branch_name" git checkout -b "$branch_name"
cp ../ct/$script_name.sh . cp ../ct/$script_name.sh .
cp ../install/$script_name-install.sh . cp ../install/$script_name-install.sh .
cp ../json/$script_name.json . cp ../json/$script_name.json .
git add . git add .
if git diff --cached --exit-code; then
echo "No changes detected, skipping commit."
exit 0
fi
git commit -m "$commit_message" git commit -m "$commit_message"
- name: Push to ProxmoxVE - name: Push to ProxmoxVE
run: | run: |
cd ProxmoxVE cd ProxmoxVE