Skip to content

Commit

Permalink
contentlayer build prior to build step
Browse files Browse the repository at this point in the history
  • Loading branch information
jzxhuang committed Jul 15, 2023
1 parent 88da085 commit 5db1a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tasks:
- init: yarn install && yarn contentlayer build
- init: yarn install
command: gp open posts/change-me.md && yarn dev

ports:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "contentlayer build && next build",
"start": "next start"
},
"dependencies": {
Expand Down

0 comments on commit 5db1a13

Please sign in to comment.