scrape #330
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: scrape | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
update-stores: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install_deps | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade google-auth | |
- name: scrape_and_commit | |
run: | | |
cd scrape | |
python3 dig.py -update-stores -key '${{secrets.SERVICE_ACCOUNT}}' | |
scrape-juno: | |
needs: update-stores | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install_deps | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade google-auth | |
- name: scrape_and_commit | |
run: | | |
cd scrape | |
python3 dig.py -store juno -key '${{secrets.SERVICE_ACCOUNT}}' -clear-trackers | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "- update juno releases" | |
git pull --rebase | |
git push origin HEAD:main | |
scrape-redeye: | |
needs: update-stores | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install_deps | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade google-auth | |
- name: scrape_and_commit | |
run: | | |
cd scrape | |
python3 dig.py -urls -store redeye -key '${{secrets.SERVICE_ACCOUNT}}' -clear-trackers | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "- update redeye releases" | |
git pull --rebase | |
git push origin HEAD:main | |
scrape-yoyaku: | |
if: false | |
needs: update-stores | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install_deps | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade google-auth | |
- name: scrape_and_commit | |
run: | | |
cd scrape | |
python3 dig.py -urls -store yoyaku -key '${{secrets.SERVICE_ACCOUNT}}' -clear-trackers -verbose -urls | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "- update yoyaku releases" | |
git pull --rebase | |
git push origin HEAD:main |