mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-15 19:42:44 +00:00
Fix workflow not being able to commit and remove tee
This commit is contained in:
parent
912b07f6f3
commit
6a1395c054
3
.github/workflows/transfer.yml
vendored
3
.github/workflows/transfer.yml
vendored
|
@ -62,6 +62,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: quatalog/data
|
repository: quatalog/data
|
||||||
path: data
|
path: data
|
||||||
|
token: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
- name: Download partial JSONs
|
- name: Download partial JSONs
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
@ -72,7 +73,7 @@ jobs:
|
||||||
|
|
||||||
- name: Combine JSONs
|
- name: Combine JSONs
|
||||||
run: |
|
run: |
|
||||||
cat new-data/* | jq -s | tee data/transfer.json
|
cat new-data/* | jq -s 'add' > data/transfer.json
|
||||||
|
|
||||||
- name: Commit data
|
- name: Commit data
|
||||||
working-directory: data
|
working-directory: data
|
||||||
|
|
Loading…
Reference in a new issue