Skip to content

Commit

Permalink
fix: remove GitHub pages attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
missionmike committed Nov 22, 2024
1 parent 498b0c8 commit 26059e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 93 deletions.
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ SANITY_GRAPHQL_ENDPOINT="https://your/sanity/graphql/endpoint"

# Including Google Tag Manager for analytics, etc.? Add your GTM_ID here.
GTM_ID=

# Set the desired hosting provider. Build settings are different for GitHub Pages
# than they are for Vercel. Value can be "github" or "vercel"
SITE_HOST=vercel
82 changes: 0 additions & 82 deletions .github/workflows/publish.yml

This file was deleted.

7 changes: 0 additions & 7 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
const siteHostingProvider = process?.env?.SITE_HOST;

/** @type {import('next').NextConfig} */
const nextConfig = {
// For GitHub hosting, the build should be output to the "out" folder.
output: siteHostingProvider === "github" ? "export" : undefined,

images: {
// Images need to be unoptimized on GitHub pages.
unoptimized: siteHostingProvider === "github",
remotePatterns: [
{
protocol: "https",
Expand Down

0 comments on commit 26059e8

Please sign in to comment.