Skip to content

Commit

Permalink
fix: release build
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Jan 17, 2024
1 parent 9be8550 commit 362729e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
- name: Build
run: |
npm run generate
- name: Reorganize Files
run: |
mkdir -p dist/bridge
mv dist/_nuxt dist/bridge/_nuxt
- name: Deploy to Production
uses: matter-labs/action-hosting-deploy@main
Expand Down
6 changes: 6 additions & 0 deletions scripts/create-release-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ set -e

# Run the first npm command and move folder
npm run generate:node:memory
mkdir -p dist/bridge
mv dist/_nuxt dist/bridge/_nuxt
mv .output/public ./dist-node-memory

# Run the second npm command and move folder
npm run generate:node:docker
mkdir -p dist/bridge
mv dist/_nuxt dist/bridge/_nuxt
mv .output/public ./dist-node-docker

# Run the final npm command
npm run generate
mkdir -p dist/bridge
mv dist/_nuxt dist/bridge/_nuxt

0 comments on commit 362729e

Please sign in to comment.