Skip to content

Scrape

Scrape #40499

Workflow file for this run

name: Scrape
on:
workflow_dispatch:
schedule:
- cron: "*/75 * * * *"
permissions:
contents: read
jobs:
scrape:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install pip and pdm
run: |
python -m pip install --upgrade pip
pip install pdm
- name: Install dependencies
run: pdm install
- name: Confirm env
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: |
env
echo confirm:
echo ${{ secrets.DATABASE_URL }}
- name: Scrape
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: pdm run python -m gymtime -f