Skip to content

Mirror Airtable data #168

Mirror Airtable data

Mirror Airtable data #168

Workflow file for this run

name: Mirror Airtable data
on:
schedule:
- cron: "0 8 * * *" #update every day at 8AM
workflow_dispatch:
jobs:
scrape:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Install package manager for deps
run: pipx install pipenv
- uses: actions/setup-python@v2
with:
python-version: "3.11"
cache: "pipenv"
- name: Install deps
run: pipenv install
- name: Make that mirror, please
env:
AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }}
AIRTABLE_KEY: ${{ secrets.AIRTABLE_KEY }}
SUPABASE_DATABASE_URL: ${{ secrets.SUPABASE_DATABASE_URL }}
run: pipenv run python mirror.py