Fix workflow not being able to commit and remove tee

This commit is contained in:
powe97 2024-03-06 02:05:49 -06:00
parent 912b07f6f3
commit 6a1395c054
No known key found for this signature in database
GPG Key ID: 7D1663B10978D1BA
1 changed files with 2 additions and 1 deletions

View File

@ -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