Skip to content

Commit

Permalink
Update release-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NicK4rT authored Nov 26, 2024
1 parent 323ce3c commit cd867e1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ jobs:
- name: Commit and Push Changes
run: |
# Configure Git
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Add, commit, and push changes
git add software/release/
git commit -m "Copy updated files to the release folder and update file_list.py"
git push origin main
# Check if there are changes to commit
git diff --exit-code || (git add software/release/ && git commit -m "Copy updated files to the release folder and update file_list.py")
# Push the changes if there were any
git push origin main || echo "No changes to push"

0 comments on commit cd867e1

Please sign in to comment.