Skip to content

get zenn articles

get zenn articles #662

name: get zenn articles
on:
schedule:
# 毎日12時に実行
- cron: '0 3 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
build:
name: get articles
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install
- name: build posts
run: |
npm run build:posts
- uses: peter-evans/create-pull-request@v4
with:
commit-message: build zenn posts
delete-branch: false
title: Update zenn posts file
reviewers: fujiyamaorange