mirror of
https://github.com/quatalog/quatalog.git
synced 2025-11-29 07:47:17 +00:00
Clean up and potentially fix rsync
This commit is contained in:
parent
c3e0d558d7
commit
58e509d1bb
5
.github/workflows/transfer.yml
vendored
5
.github/workflows/transfer.yml
vendored
|
|
@ -52,8 +52,7 @@ jobs:
|
|||
- name: Scrape transfer guide
|
||||
run: |
|
||||
mkdir new-data
|
||||
rsync -avzh data/transfer.json new-data
|
||||
rsync -avzh data/transfer_state.json new-data
|
||||
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' new-data
|
||||
python3 quatalog-scraping/transfer_scraper/main.py new-data/transfer.json new-data/transfer_state.json ${{ github.event.inputs.timeout || env.DEFAULT_TIMEOUT }}
|
||||
|
||||
- name: Upload data to artifact
|
||||
|
|
@ -83,7 +82,7 @@ jobs:
|
|||
- name: Copy data to repo directory
|
||||
run: |
|
||||
ls -lsa data
|
||||
rsync -avzh data/ quatalog-data/
|
||||
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' quatalog-data
|
||||
|
||||
- name: Push new data
|
||||
working-directory: quatalog-data
|
||||
|
|
|
|||
Loading…
Reference in a new issue