Skip to content

Sync Google Sheets data #1808

Sync Google Sheets data

Sync Google Sheets data #1808

Workflow file for this run

name: Sync Google Sheets data
on:
schedule:
- cron: "50 * * * *" # 50 past every hour
workflow_dispatch:
push:
branches:
- develop
jobs:
pull-sheets:
name: Sync Google Sheets data
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: develop
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
architecture: x64
- name: Install BDDL
run: pip install -e .
- name: Install dev requirements
run: pip install -r requirements-dev.txt
- name: Authenticate on Google Cloud
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: Refresh sheets data
run: python -m bddl.data_generation.pull_sheets
- name: Refresh derivative data
run: python -m bddl.data_generation.run_everything
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Sync Google Sheets data"