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 55eff1b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "hackforthepeople",
"name": "ghentforgood",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down

0 comments on commit 55eff1b

Please sign in to comment.