Skip to content

Fetch recent blog posts from DHARMA Hypotheses #3197

Fetch recent blog posts from DHARMA Hypotheses

Fetch recent blog posts from DHARMA Hypotheses #3197

Workflow file for this run

name: Fetch recent blog posts from DHARMA Hypotheses
on:
schedule:
- cron: "* */12 */1 * *"
jobs:
fetch-recent-blog-posts:
name: Fetch recent blog posts
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install node dependencies
run: yarn
- name: Run node script
run: yarn build
- name: Git setup
run: git config --global user.email readme-bot@example.com && git config --global user.name readme-bot
- name: Git commit
run: git diff --quiet && git diff --staged --quiet || git commit -am '[BOT] Update content' && git push