mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
fix before script
This commit is contained in:
@ -6,7 +6,6 @@ image: 'node:latest'
|
||||
before_script:
|
||||
- apt update -y
|
||||
- corepack enable pnpm
|
||||
- mkdir public
|
||||
|
||||
build:pretty-check:
|
||||
stage: build
|
||||
@ -20,7 +19,6 @@ build:local:
|
||||
- pnpm build-local
|
||||
- mkdir .next/standalone/public && cp -aR public/* .next/standalone/public
|
||||
- mkdir .next/standalone/public/_next && cp -aR .next/static/ .next/standalone/public/_next
|
||||
- 'mv .next/standalone/ public/'
|
||||
artifacts:
|
||||
paths:
|
||||
- public/standalone
|
||||
- .next/standalone
|
||||
|
Reference in New Issue
Block a user