Use nextjs compile and generate to replace env without running build
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
"scripts": {
|
||||
"dev": "NODE_OPTIONS='--inspect' next dev --turbopack",
|
||||
"build": "next build",
|
||||
"build:compile": "next build --experimental-build-mode compile",
|
||||
"build:generate": "next build --experimental-build-mode generate",
|
||||
"start": "next start",
|
||||
"lint": "biome check .",
|
||||
"lint:fix": "biome check --write .",
|
||||
|
||||
@@ -43,13 +43,13 @@ Run these steps in the `apps/deployer/` directory:
|
||||
CLERK_SECRET_KEY: your_clerk_secret
|
||||
NEXT_PUBLIC_WALLET_IFRAME_URL: https://wallet.laconic.com
|
||||
NEXT_PUBLIC_LACONICD_CHAIN_ID: laconic-mainnet
|
||||
NEXT_PUBLIC_API_URL: https://deploy-backend.laconic.com
|
||||
NEXT_PUBLIC_API_URL: https://deploy-backend.apps.vaasl.io
|
||||
NEXT_PUBLIC_GITHUB_FALLBACK_TOKEN: your_github_token
|
||||
```
|
||||
|
||||
NOTE: Replace `your_clerk_key`, `your_clerk_secret` and `your_github_token` with actual values
|
||||
|
||||
- Run script to deploy app to `deploy.laconic.com`
|
||||
- Run script to deploy app to `deploy-staging.laconic.co`
|
||||
|
||||
```bash
|
||||
./deploy-frontend.sh
|
||||
|
||||
@@ -130,7 +130,7 @@ record:
|
||||
env:
|
||||
NEXT_PUBLIC_WALLET_IFRAME_URL: https://wallet.laconic.com
|
||||
NEXT_PUBLIC_LACONICD_CHAIN_ID: laconic-mainnet
|
||||
NEXT_PUBLIC_API_URL: https://deploy-backend.laconic.com
|
||||
NEXT_PUBLIC_API_URL: https://deploy-backend.apps.vaasl.io
|
||||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:
|
||||
CLERK_SECRET_KEY:
|
||||
NEXT_PUBLIC_GITHUB_FALLBACK_TOKEN: your_github_token
|
||||
|
||||
Reference in New Issue
Block a user