Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions BlogPreviewLP/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Next.js static site

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run build
- run: npm run deploy
2 changes: 1 addition & 1 deletion BlogPreviewLP/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Figtree } from "next/font/google";

const figtree = Figtree({
subsets: ["latin"],
weights: ["500", "800"],
weight: ["500", "800"],
});

export default function Home() {
Expand Down
6 changes: 5 additions & 1 deletion BlogPreviewLP/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
output: 'export',
images: {
unoptimized: true,
},
trailingSlash: true,
};

export default nextConfig;
Loading
Loading