Skip to content

Publish

Publish #1

Workflow file for this run

name: Publish
on:
schedule:
# Every 30 minutes
- cron: '0 6-18/2 * * *'
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run build
env:
TERMINUSDB_API_TOKEN: ${{ secrets.TERMINUSDB_API_TOKEN }}
- run: curl -X POST ${{ secrets.CLOUDFLARE_DEPLOY_HOOK }} -o /dev/null
- run: cd utils/ && npm i && node parse_to_sections.js
env:
TERMINUSDB_API_TOKEN: ${{ secrets.TERMINUSDB_API_TOKEN }}