Skip to content

Commit

Permalink
second
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Dec 6, 2024
1 parent 4881fb3 commit f5ce988
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to GitHub Pages

on:
push:
branches: ["main"]

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: out
branch: gh-pages
L
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const nextConfig = {
output: 'export',
basePath: '/your-repo-name',
images: {
unoptimized: true
}
}

module.exports = nextConfig

0 comments on commit f5ce988

Please sign in to comment.