Skip to content

Commit

Permalink
empty basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Aug 16, 2024
1 parent e3380ed commit 9e925ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Next.js site to Pages

on:
push:
branches: ["main"]
branches: [ "main" ]
# allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -86,6 +86,9 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
basePath: "/wikipedia-browser",
basePath: "",
images: {
unoptimized: true,
},
Expand Down

0 comments on commit 9e925ee

Please sign in to comment.