Skip to content

Daily Template

Daily Template #193

Workflow file for this run

name: Daily Template
on:
schedule:
- cron: "13 16 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Journal/Template
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 22
cache: 'npm'
cache-dependency-path: ./Journal/Template/package-lock.json
- run: npm install
- name: Generate Daily Template
run: npm run daily
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: Daily Template Update