mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 16:05:54 +00:00
Update move-to-main-repo.yaml
This commit is contained in:
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user