diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dc8e07c..7955e29 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,8 +15,6 @@ permissions: jobs: build-and-deploy: runs-on: ubuntu-latest - env: - MNEMONIC: ${{ secrets.MNEMONIC }} steps: - name: Checkout uses: actions/checkout@v3 diff --git a/apps/frontend/vite.config.ts b/apps/frontend/vite.config.ts index 5a2f60d..c9cacee 100644 --- a/apps/frontend/vite.config.ts +++ b/apps/frontend/vite.config.ts @@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react"; import { nodePolyfills } from "vite-plugin-node-polyfills"; import { resolve } from "path"; -export default defineConfig(() => { +export default defineConfig(({ mode }) => { return { plugins: [nodePolyfills(), react()], build: { @@ -32,6 +32,6 @@ export default defineConfig(() => { resolve(__dirname, "test/setup/resizeObserverMock.ts"), ], }, - base: "/", + base: mode === "production" ? "/smart-accounts-factory/" : "/", }; });