diff --git a/.github/workflows/frontend_deploy.yml b/.github/workflows/frontend_deploy.yml index 008a601..0cdd617 100644 --- a/.github/workflows/frontend_deploy.yml +++ b/.github/workflows/frontend_deploy.yml @@ -29,7 +29,7 @@ jobs: cache-dependency-path: crypto_clash_frontend/package-lock.json - name: Build with Next.js - run: npm ci &&npm run build + run: npm ci && npm run build working-directory: crypto_clash_frontend - name: Upload artifact diff --git a/README.md b/README.md new file mode 100644 index 0000000..08a3b0a --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Deployed URL: https://averel10.github.io/crypto_clash/ \ No newline at end of file diff --git a/crypto_clash_frontend/next.config.ts b/crypto_clash_frontend/next.config.ts index 8adf2c9..ef50bcd 100644 --- a/crypto_clash_frontend/next.config.ts +++ b/crypto_clash_frontend/next.config.ts @@ -1,6 +1,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { + basePath: "/crypto_clash", output: "export", // <=== enables static exports reactStrictMode: true, };