diff --git a/.github/workflows/create-build.yml b/.github/workflows/create-build.yml index b10f9114..418fae88 100644 --- a/.github/workflows/create-build.yml +++ b/.github/workflows/create-build.yml @@ -37,8 +37,14 @@ jobs: run: npm ci - name: Run Build run: npm run build + - name: Create Build Artifact + run: | + mkdir ./build + cp ./node_modules -pR ./build/node_modules + cp ./next.config.js ./build/next.config.js + cp ./package.json ./build/package.json - name: Upload build folder uses: actions/upload-artifact@v4 with: name: BuildArtifact - path: ./.next + path: ./build