From 39b4e819667e02966850a02cdd0cc5734e82c3a1 Mon Sep 17 00:00:00 2001 From: jaideepghosh Date: Tue, 8 Oct 2024 18:40:08 +0530 Subject: [PATCH] fix:Let the user trigger the action to build and deploy --- .github/workflows/nextjs.yml | 4 +--- next.config.mjs | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index ed74736..961596e 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -5,9 +5,7 @@ name: Deploy Next.js site to Pages on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] + workflow_dispatch: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/next.config.mjs b/next.config.mjs index d5456a1..b54780b 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + basePath: "/boards", + output: "export", reactStrictMode: true, };