Skip to content

fetch-data-from-airtable #499

fetch-data-from-airtable

fetch-data-from-airtable #499

name: fetch-data-from-airtable
on:
workflow_dispatch:
schedule:
- cron: "00 05 * * *" #runs at 05:00am UTC everyday
jobs:
getdata:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
update-pip: "false"
update-setuptools: "false"
update-wheel: "false"
- name: execute py script
run: python fetch_airtable_data.py
env:
AIRTABLE_ACCESS_TOKEN: ${{ secrets.AIRTABLE_ACCESS_TOKEN }}
AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }}
- name: Git Auto Commit
uses: stefanzweifel/[email protected]
with:
commit_message: Data fetch from airtable
branch: main