mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-15 19:42:44 +00:00
See previous commit
This commit is contained in:
parent
58e509d1bb
commit
57d9f5dc4c
7
.github/workflows/transfer.yml
vendored
7
.github/workflows/transfer.yml
vendored
|
@ -52,7 +52,9 @@ jobs:
|
||||||
- name: Scrape transfer guide
|
- name: Scrape transfer guide
|
||||||
run: |
|
run: |
|
||||||
mkdir new-data
|
mkdir new-data
|
||||||
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' new-data
|
rsync -avzh --stats 'data/transfer.json' 'new-data'
|
||||||
|
rsync -azvh --stats 'data/transfer_state.json' 'new-data'
|
||||||
|
echo
|
||||||
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
|
||||||
|
@ -82,7 +84,8 @@ jobs:
|
||||||
- name: Copy data to repo directory
|
- name: Copy data to repo directory
|
||||||
run: |
|
run: |
|
||||||
ls -lsa data
|
ls -lsa data
|
||||||
rsync -avzh --stats 'data/transfer.json data/transfer_state.json' quatalog-data
|
rsync -avzh --stats 'data/transfer.json' 'quatalog-data'
|
||||||
|
rsync -azvh --stats '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