Skip to content

Commit

Permalink
create compressed file outside of the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dil07 committed Jan 15, 2024
1 parent aa181de commit 2542d6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/compress-cookbooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Compress Cookbooks
run: tar -czvf cookbooks.tar.gz .
run: |
cd ..
tar -czvf cookbooks.tar.gz -C ${{ github.workspace }} .
cp cookbooks.tar.gz ${{ github.workspace }}
- name: Commit and push
run: |
git config user.name github-actions
Expand Down

0 comments on commit 2542d6d

Please sign in to comment.