Update move-to-main-repo.yaml
This commit is contained in:
parent
f099d01779
commit
a9e8c392f7
8
.github/workflows/move-to-main-repo.yaml
vendored
8
.github/workflows/move-to-main-repo.yaml
vendored
@ -114,12 +114,20 @@ jobs:
|
||||
git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE
|
||||
cd ProxmoxVE
|
||||
git checkout -b "$branch_name"
|
||||
|
||||
cp ../ct/$script_name.sh .
|
||||
cp ../install/$script_name-install.sh .
|
||||
cp ../json/$script_name.json .
|
||||
|
||||
git add .
|
||||
if git diff --cached --exit-code; then
|
||||
echo "No changes detected, skipping commit."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
git commit -m "$commit_message"
|
||||
|
||||
|
||||
- name: Push to ProxmoxVE
|
||||
run: |
|
||||
cd ProxmoxVE
|
||||
|
Loading…
x
Reference in New Issue
Block a user