Skip to content

Commit

Permalink
Update pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Apr 5, 2024
1 parent f4a8526 commit 0c1e30f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Remove all files except the ZIP
run: |
ls | grep -v "archive_with_hash.zip" | xargs rm -rf
run: find . -mindepth 1 ! -name "archive_with_hash.zip" ! -name "." ! -name ".." -exec rm -rf {} +
- name: Commit ZIP file
run: |
git add archive_with_hash.zip
git commit -m "Update ZIP archive with latest commit hash"
git add archive_with_hash.zip -f
git add -u
git commit -m "Update ZIP archive with latest commit hash" || echo "No changes to commit"
- name: Force push to zip-archive branch
run: git push origin HEAD:zip-archive --force

0 comments on commit 0c1e30f

Please sign in to comment.