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 2576f2b commit 4d225d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Create new local branch
run: git checkout -b temp-zip-branch

- name: Remove all files except the ZIP
- name: Create orphan branch for ZIP archive
run: |
git checkout --orphan zip-archive
git rm -rf .
git clean -fdx
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 temp-zip-branch:zip-archive --force
- name: Force push to remote zip-archive branch
run: git push origin zip-archive --force

0 comments on commit 4d225d3

Please sign in to comment.