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 5cc5b1a commit 47dd485
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Remove all files except the ZIP and commit deletion
run: |
ls | grep -v "archive_with_hash.zip" | xargs rm -rf
git add -A
git commit -m "Prepare for ZIP archive update"
- name: Create new local branch
run: git checkout -b temp-zip-branch

- name: Commit ZIP file
- name: Remove all files except the ZIP
run: |
git rm -r --cached .
git clean -fdx
rm -rf * !("archive_with_hash.zip")
git add archive_with_hash.zip
git commit -m "Update ZIP archive with latest commit hash"
- name: Force push to zip-archive branch
run: git push origin HEAD:zip-archive --force
run: git push origin temp-zip-branch:zip-archive --force

0 comments on commit 47dd485

Please sign in to comment.