diff --git a/.github/workflows/compress-cookbooks.yml b/.github/workflows/compress-cookbooks.yml index 6d67051a..68c105cd 100644 --- a/.github/workflows/compress-cookbooks.yml +++ b/.github/workflows/compress-cookbooks.yml @@ -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