mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
fix: correct npm command formatting in GitHub Actions workflow and add basePath to Next.js config
This commit is contained in:
2
.github/workflows/frontend_deploy.yml
vendored
2
.github/workflows/frontend_deploy.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
cache-dependency-path: crypto_clash_frontend/package-lock.json
|
cache-dependency-path: crypto_clash_frontend/package-lock.json
|
||||||
|
|
||||||
- name: Build with Next.js
|
- name: Build with Next.js
|
||||||
run: npm ci &&npm run build
|
run: npm ci && npm run build
|
||||||
working-directory: crypto_clash_frontend
|
working-directory: crypto_clash_frontend
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|||||||
1
README.md
Normal file
1
README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Deployed URL: https://averel10.github.io/crypto_clash/
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
|
basePath: "/crypto_clash",
|
||||||
output: "export", // <=== enables static exports
|
output: "export", // <=== enables static exports
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user