Skip to content

Commit

Permalink
♻️ Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Dec 16, 2023
1 parent 3dfa2dd commit d898db2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🚀 Deploy Next.js UI to GitHub Pages

on:
push:
branches: ["main"]
branches: ["main", "gh-pages-deployment"]
workflow_dispatch:

# Allows only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
Expand Down
52 changes: 26 additions & 26 deletions interface/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@
* @type {import('next').NextConfig}
**/
const nextConfig = {
/**
* Enable static exports for the App Router.
*
* @see https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
*/
output: "export",
/**
* Set base path. This is usually the slug of your repository.
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
basePath: "/createx",
/**
* Disable server-based image optimization. Next.js does not support
* dynamic features with static exports.
*
* @see https://nextjs.org/docs/pages/api-reference/components/image#unoptimized
*/
images: {
unoptimized: true,
},
};
module.exports = nextConfig;
/**
* Enable static exports for the App Router.
*
* @see https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
*/
output: "export",

/**
* Set base path. This is usually the slug of your repository.
*
* @see https://nextjs.org/docs/app/api-reference/next-config-js/basePath
*/
basePath: "/createx",

/**
* Disable server-based image optimization. Next.js does not support
* dynamic features with static exports.
*
* @see https://nextjs.org/docs/pages/api-reference/components/image#unoptimized
*/
images: {
unoptimized: true,
},
};

module.exports = nextConfig;
2 changes: 1 addition & 1 deletion interface/src/pages/abi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const Abi = () => {
)}
>
<Image
src={`/nextjs-github-pages/${tab.imgUri}`}
src={`/createx/${tab.imgUri}`}
height={tab.imgSize === "sm" ? 16 : 20}
width={tab.imgSize === "sm" ? 16 : 20}
alt="JSON logo"
Expand Down

0 comments on commit d898db2

Please sign in to comment.