Skip to content

Scheduled sync

Scheduled sync #68525

name: Scheduled sync
on:
workflow_dispatch:
push:
branches:
- master
schedule:
# Every 15 minutes
- cron: "15 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- run: yarn install
- run: yarn start
env:
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
AIRTABLE_BASE: ${{ secrets.AIRTABLE_BASE }}
AIRTABLE_BASE_NAME: ${{ secrets.AIRTABLE_BASE_NAME }}
AIRTABLE_VIEW: ${{ secrets.AIRTABLE_VIEW }}
GH_AIRTABLE_SYNC_TOKEN: ${{ secrets.GH_AIRTABLE_SYNC_TOKEN }}
GH_OWNER: ${{ secrets.GH_OWNER }}
GH_REPO: ${{ secrets.GH_REPO }}