Skip to content

Fetch data

Fetch data #9

Workflow file for this run

name: Fetch data
on: workflow_dispatch
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Setup dependencies
run: pip install -r requirements.txt
- name: Get data
run: |
python src/beachland.py > beachland.json
python src/grogshop.py > grogshop.json
python src/mahalls.py > mahalls.json
python src/agora.py > agora.json
python src/hob.py > hob.json
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🤖 press Ⓧ to json
branch: ${{ github.head_ref }}