From 6a1395c05428be5702a65183655ea23d8e0698a3 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Wed, 6 Mar 2024 02:05:49 -0600 Subject: [PATCH] Fix workflow not being able to commit and remove tee --- .github/workflows/transfer.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/transfer.yml b/.github/workflows/transfer.yml index e811375..0a8a582 100644 --- a/.github/workflows/transfer.yml +++ b/.github/workflows/transfer.yml @@ -62,6 +62,7 @@ jobs: with: repository: quatalog/data path: data + token: ${{ secrets.PUSH_TOKEN }} - name: Download partial JSONs uses: actions/download-artifact@v4 @@ -72,7 +73,7 @@ jobs: - name: Combine JSONs run: | - cat new-data/* | jq -s | tee data/transfer.json + cat new-data/* | jq -s 'add' > data/transfer.json - name: Commit data working-directory: data