Skip to content

Commit

Permalink
try this for output
Browse files Browse the repository at this point in the history
  • Loading branch information
bekahwhittle committed Aug 3, 2023
1 parent d95a6b5 commit 3b45ded
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: '18.x'
- run: npm install
- run: npm run build --if-present
- run: npm run build

test:
needs: build
Expand Down Expand Up @@ -64,10 +64,12 @@ jobs:
with:
node-version: '18.x'
- run: npm install
- run: npm run build --if-present

- run: npm run build
- name: Configure GitHub Pages
uses: actions/configure-pages@v3
with:
static_site_generator: next

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
Expand Down
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',

images: {
unoptimized: true,
},

reactStrictMode: true,
}

Expand Down

0 comments on commit 3b45ded

Please sign in to comment.