[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt.
roe.dev
1name: sync
2
3on:
4 push:
5 branches:
6 - main
7 paths:
8 - "src/content/blog/**"
9 - ".github/workflows/test.yml"
10
11jobs:
12 sync_devto:
13 runs-on: ubuntu-latest
14
15 steps:
16 - uses: actions/checkout@v4
17 - run: corepack enable
18 - uses: actions/setup-node@v4
19 with:
20 node-version: "22"
21 cache: "pnpm"
22
23 - name: Install dependencies
24 run: pnpm install --frozen-lockfile
25
26 - name: Update blogs on dev.to
27 run: pnpm nuxi prepare
28 env:
29 DEVTO_TOKEN: ${{ secrets.DEVTO_TOKEN }}
30 SYNC_DEV_TO: true