File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 9595 node-version-file : ' .nvmrc'
9696 - id : vercel-deploy
9797 run : |
98- pnpm dlx vercel deploy --token=${{ secrets.VERCEL_TOKEN }} \
98+ npx -y vercel deploy --token=${{ secrets.VERCEL_TOKEN }} \
9999 --target=${{ github.event_name == 'push' && 'production' || 'preview' }} \
100100 --build-env MDX=docs \
101101 --build-env NEXT_PUBLIC_LIBNAME="Poimandres" \
Original file line number Diff line number Diff line change 135135 export CONTRIBUTORS_PAT=
136136
137137 kill $( lsof -ti:" $_PORT " )
138- pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
138+ npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
139139 pnpm run dev &
140140
141141 wait
187187 pnpm run build
188188
189189 kill $( lsof -ti:" $_PORT " )
190- pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
191- pnpm dlx serve out &
190+ npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
191+ npx serve out &
192192
193193 wait
194194)
268268 pmndrs-docs pnpm run build
269269
270270 kill $( lsof -ti:" $_PORT " )
271- pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
272- pnpm dlx serve " $MDX /out" &
271+ npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
272+ npx -y serve " $MDX /out" &
273273
274274 wait
275275)
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ main() {
4343 $DOCKER_IMAGE :$DOCKER_TAG pnpm run build
4444
4545 kill $( lsof -ti:" $_PORT " )
46- pnpm dlx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
47- pnpm dlx serve " $MDX /out" &
46+ npx serve $MDX -p $_PORT --no-port-switching --no-clipboard &
47+ npx -y serve " $MDX /out" &
4848
4949 wait
5050}
You can’t perform that action at this time.
0 commit comments