mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-05 23:39:16 +00:00
Update auto-update-app-headers.yml
This commit is contained in:
parent
7ab5485fc3
commit
78ed820bb0
@ -30,6 +30,7 @@ jobs:
|
|||||||
git checkout main
|
git checkout main
|
||||||
git pull origin main
|
git pull origin main
|
||||||
BRANCH_NAME="update-app-headers-$(date +'%Y-%m-%d-%H-%M-%S')"
|
BRANCH_NAME="update-app-headers-$(date +'%Y-%m-%d-%H-%M-%S')"
|
||||||
|
echo "Branch name: $BRANCH_NAME" # Debugging
|
||||||
git checkout -b "$BRANCH_NAME"
|
git checkout -b "$BRANCH_NAME"
|
||||||
echo "Created and switched to branch $BRANCH_NAME"
|
echo "Created and switched to branch $BRANCH_NAME"
|
||||||
|
|
||||||
@ -47,6 +48,7 @@ jobs:
|
|||||||
# Step 5: Push changes to the new branch
|
# Step 5: Push changes to the new branch
|
||||||
- name: Push changes to the new branch
|
- name: Push changes to the new branch
|
||||||
run: |
|
run: |
|
||||||
|
echo "Pushing changes to branch $BRANCH_NAME" # Debugging
|
||||||
git add ./misc/.app-headers
|
git add ./misc/.app-headers
|
||||||
git commit -m "Update .app-headers file"
|
git commit -m "Update .app-headers file"
|
||||||
git push origin "$BRANCH_NAME"
|
git push origin "$BRANCH_NAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user