Skip to content

Commit

Permalink
CodeDeploy Test - Standalone build, pnpm
Browse files Browse the repository at this point in the history
CodeDeploy Test - Standalone build, pnpm
  • Loading branch information
jwo0o0 authored Nov 20, 2024
2 parents 823fbf9 + 54284d6 commit d6a91c7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ jobs:

- name: Make zip file
run: |
mkdir -p build/.next/static
mkdir -p build/public
cp -r .next/standalone/* build/
cp -r .next/static/* build/.next/static
cp -r public/* build/public
mkdir -p build/standalone/.next/static
mkdir -p build/standalone/public
mkdir -p build/standalone/scripts
cp -r .next/standalone/* build/standalone/
cp -r .next/static/* build/standalone/.next/static/
cp -r public/* build/standalone/public/
cp -r scripts/* build/standalone/scripts/
cp appspec.yml build/standalone
cd build
zip -qq -r ../nextjs-app-${{ github.sha }}.zip .
shell: bash
Expand Down

0 comments on commit d6a91c7

Please sign in to comment.