dev #11

Merged
Cyanoure merged 32 commits from dev into main 2024-09-15 15:35:07 +00:00
10 changed files with 63 additions and 74 deletions
Showing only changes of commit b6cbdce51f - Show all commits

View File

@ -27,6 +27,8 @@ jobs:
# Initialize build branch
- name: Initialize build branch
run: |
git config --global user.name 'Git Bot'
git config --global user.email 'noreply@kozelkaricsi.hu'
BRANCH_NAME="${GITHUB_REF_NAME}-build"
git fetch origin $BRANCH_NAME || true # Allow failure if branch doesn't exist
git switch $BRANCH_NAME || git switch -c $BRANCH_NAME
@ -44,8 +46,6 @@ jobs:
# Commit build files
- name: Commit build files to build branch
run: |
git config --global user.name 'Git Bot'
git config --global user.email 'noreply@kozelkaricsi.hu'
git add -f dist
git commit -am "Build" || echo "Nothing to commit"
git push origin HEAD --force # Push to the current branch