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

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