Skip to content

Commit

Permalink
move compressed file into a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dil07 committed Jan 16, 2024
1 parent f9ccdfc commit c7a83dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cookbooks.tar.gz filter=lfs diff=lfs merge=lfs -text
compressed/*.tar.gz filter=lfs diff=lfs merge=lfs -text
6 changes: 3 additions & 3 deletions .github/workflows/compress-cookbooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
- name: Compress Cookbooks
run: |
cd ..
tar -czvf cookbooks.tar.gz -C ${{ github.workspace }} .
cp cookbooks.tar.gz ${{ github.workspace }}
tar --exclude='./compressed' -czvf cookbooks.tar.gz -C ${{ github.workspace }} .
mv cookbooks.tar.gz ${{ github.workspace }}/compressed
- name: Commit and push
run: |
git config user.name github-actions
git config user.email [email protected]
git add cookbooks.tar.gz
git add compressed/cookbooks.tar.gz
git commit -m 'update compressed cookbooks'
git push
3 changes: 3 additions & 0 deletions compressed/cookbooks.tar.gz
Git LFS file not shown

0 comments on commit c7a83dc

Please sign in to comment.