Skip to content

fix: link to nuxtlabs #351

fix: link to nuxtlabs

fix: link to nuxtlabs #351

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@v4
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