Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jwo0o0 authored Nov 20, 2024
1 parent 5984770 commit 54284d6
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 54284d6

Please sign in to comment.