Skip to content

Clean Context

Clean Context #2214

Workflow file for this run

name: Clean Context
on:
schedule:
- cron: "0 */6 * * *"
push:
branches: [ main ]
workflow_dispatch:
jobs:
clean_context:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- name: install yarn
run: |
npm install -g yarn
- name: install
run: |
yarn install
- name: build
run: |
yarn build
- name: run update
run: |
node ./bin/clean-context "${{ secrets.CONTROL_DB }}"
env:
NOTION_KEY: ${{ secrets.API_KEY }}