diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index fe78e598c..f7156a620 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -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 diff --git a/scripts/create-release-assets.sh b/scripts/create-release-assets.sh index 8d1619275..2e4403a15 100644 --- a/scripts/create-release-assets.sh +++ b/scripts/create-release-assets.sh @@ -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 \ No newline at end of file