Skip to content

Commit

Permalink
adapt nextjs.yaml for github pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzirps committed Dec 17, 2024
1 parent c95854b commit dd47b05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/nextjs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Next.js site to Pages
name: Deploy Frontend

on:
push:
Expand Down Expand Up @@ -71,9 +71,6 @@ jobs:
- name: Build with Next.js
run: pnpm run build # Use pnpm to run the build

- name: Export static site
run: pnpm run export # Use pnpm to export the site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion frontend/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {};
const nextConfig: NextConfig = {
output: "export",
};

export default nextConfig;

0 comments on commit dd47b05

Please sign in to comment.