mirror of
https://github.com/quatalog/quatalog.git
synced 2025-11-29 15:55:55 +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
|
- name: Scrape transfer guide
|
||||||
run: |
|
run: |
|
||||||
mkdir new-data
|
mkdir new-data
|
||||||
rsync -avzh data/transfer.json new-data
|
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' new-data
|
||||||
rsync -avzh 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 }}
|
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
|
- name: Upload data to artifact
|
||||||
|
|
@ -83,7 +82,7 @@ jobs:
|
||||||
- name: Copy data to repo directory
|
- name: Copy data to repo directory
|
||||||
run: |
|
run: |
|
||||||
ls -lsa data
|
ls -lsa data
|
||||||
rsync -avzh data/ quatalog-data/
|
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' quatalog-data
|
||||||
|
|
||||||
- name: Push new data
|
- name: Push new data
|
||||||
working-directory: quatalog-data
|
working-directory: quatalog-data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue