Skip to content

chore(deps): update actions/checkout action to v4 (#1310) #344

chore(deps): update actions/checkout action to v4 (#1310)

chore(deps): update actions/checkout action to v4 (#1310) #344

Workflow file for this run

name: sync
on:
push:
branches:
- main
paths:
- "src/content/blog/**"
- ".github/workflows/test.yml"
jobs:
sync_devto:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update blogs on dev.to
run: pnpm nuxi prepare
env:
DEVTO_TOKEN: ${{ secrets.DEVTO_TOKEN }}
SYNC_DEV_TO: true