Skip to content

Publish Scheduled Posts #155672

Publish Scheduled Posts

Publish Scheduled Posts #155672

name: Publish Scheduled Posts
on:
schedule:
- cron: 0/15 * * * *
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: '22.x'
- name: publish scheduled
env:
BUILD_HOOK_URL: ${{ secrets.BUILD_HOOK_URL }}
run: node scripts/publish-scheduled.js