From eae48ea9b65b9eb6c810ef7ffb9cfad0f086aa0c Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Fri, 5 Apr 2024 21:56:27 +0200 Subject: [PATCH] Update pipeline.yml --- .github/workflows/pipeline.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 8deb790..c508759 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -14,16 +14,4 @@ jobs: - name: get latest commit hash run: echo "LATEST_COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV - name: create commit hash file - run: echo $LATEST_COMMIT_HASH > latest_commit_hash.txt - - name: Archive Repository with Commit Hash - run: zip -r archive_with_hash.zip . -x "*.git*" -x "*.github*" - - name: Upload to zip-archive branch - run: | - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" - git checkout --orphan temp-branch - git rm -rf . - git add -f archive_with_hash.zip - git commit -m "Upload latest zip archive" - git branch -M zip-archive - git push -fu origin zip-archive + run: echo $LATEST_COMMIT_HASH