Skip to content

Commit

Permalink
disable scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfricker committed Apr 6, 2024
1 parent cfcee54 commit 553b4cc
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/run_scrape_flatmates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Flatmates Scraper

on:
workflow_dispatch:

schedule:
- cron: '0 10 * * 6'

# the scraper no longer works :/

# schedule:
# - cron: '0 10 * * 6'

jobs:
build:
Expand All @@ -13,30 +15,27 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

-
uses: actions/setup-python@v5
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Run flatmates script
run: pip install -r src/requirements.txt

- name: Run flatmates script
run: |
pip install -r src/requirements.txt
make extract
make load
# Runs a set of commands using the runners shell
-
name: Commit files
# commit directly to main
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git pull
git add *
git commit -m "weekly flatmates scrape" -a --allow-empty
-
name: GitHub Push
# push changes to main
- name: GitHub Push
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 553b4cc

Please sign in to comment.