diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1d12251..0323c79 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: run: cargo install wasm-pack - name: Install NodeJs uses: actions/setup-node@v4 - - run: npm install + - run: Deployment - run: ./deploy.sh env: BUILD_MODE: ${{ vars.BUILD_MODE }} diff --git a/deploy.sh b/deploy.sh index 079a4d5..6d152e0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -17,7 +17,9 @@ echo "" echo "--> Compiling frontend..." echo "" +cd frontend npm run build:$BUILD_MODE +cd .. echo "" echo "--> Uploading to deployment server..."