Skip to content

Fix cover and icon on Notion #11

Fix cover and icon on Notion

Fix cover and icon on Notion #11

name: Fix cover and icon on Notion
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync-notion:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run changes-on-notion script
run: yarn changes-on-notion
env:
NOTION_SECRET: ${{ secrets.NOTION_SECRET }}