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 eb0c4a8 commit 2f501a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ 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
run: |
echo $LATEST_COMMIT_HASH > latest_commit_hash.txt
echo "Captured commit hash: $LATEST_COMMIT_HASH"
- name: Archive Repository with Commit Hash
run: zip -r archive_with_hash.zip . -x "*.git*" -x "*.github*"
- name: Upload to zip-archive branch
Expand Down

0 comments on commit 2f501a4

Please sign in to comment.