Skip to content

Commit d871e2c

Browse files
bastianalbersTwissiclaude
authored
Bump change (#223)
* Deploy website using GitHub pages (#220) * Convert website to static GitHub Pages deployment - Remove German language support, keep only English - Configure Next.js for static export with GitHub Pages basePath support - Add asset path utility function for proper GitHub Pages URL handling - Update all hardcoded asset paths to use dynamic basePath - Fix font URLs to work with GitHub Pages - Add .nojekyll file to prevent GitHub Pages from ignoring _next files - Update package.json with export script - Remove German translation files and city data - Format code with prettier 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove Vercel deployment configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Replace Vercel workflow with GitHub Pages deployment - Remove Vercel-specific GitHub Actions workflow - Add GitHub Pages deployment workflow with proper Next.js static export - Configure automatic deployment on push to master/main branches - Use GitHub's official actions for Pages deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix ESLint configuration for styled-jsx and dev server - Add ignore rules for styled-jsx properties (jsx, global) - Disable explicit-module-boundary-types warnings - Fix React version detection in ESLint settings - Resolves dev server startup issues with linting errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Add github-pages-new branch to deployment workflow - Include github-pages-new branch in GitHub Pages workflow triggers - Allows testing deployment from feature branch before merging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update GitHub Actions to latest versions - Update actions/upload-pages-artifact from v2 to v3 - Update actions/deploy-pages from v2 to v4 - Fixes deprecated action version errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix static export configuration for GitHub Pages - Add 'output: export' to next.config.js - Ensures out/ directory is generated during build - Fixes GitHub Actions artifact creation error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix static export for Next.js 12 and GitHub Pages - Remove output: 'export' config (Next.js 12 doesn't support it) - Update export script to run 'next build && next export' - Convert getInitialProps to getStaticProps/getStaticPaths for cities - Remove getInitialProps from withLocale container and _document - Fix data serialization in cities getStaticProps - Update GitHub Actions workflow to use export command - Successfully generates static files in out/ directory 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix hardcoded image paths for GitHub Pages deployment Update all remaining hardcoded asset paths to use assetPath utility for proper GitHub Pages basePath support: - CityHero component background images - Meta component favicons and manifest links - MarkdownTeam component member images - Cities page social icons and about images 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix font paths for GitHub Pages basePath support Update global CSS font declarations to use dynamic basePath for GitHub Pages deployment: - Add environment detection for GitHub Actions - Use GITHUB_REPOSITORY to extract repository name for basePath - Apply basePath to OpenSans, Roboto, and Material Icons font URLs - Ensures fonts load correctly when deployed with basePath on GitHub Pages 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update README with GitHub Pages deployment instructions - Replace outdated Zeit.co deployment information - Add detailed instructions for building with GitHub Pages basePath locally - Include environment variables needed for proper GitHub Pages build - Explain difference between local and GitHub Pages builds - Document asset path behavior with basePath configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove Slack references from README - Remove Slack channel mentions from contribution guidelines - Replace Slack communication with GitHub issue discussions - Encourage using GitHub issues for help and collaboration - Simplify communication channels to focus on GitHub-based workflow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix client-side navigation font loading issue Add font preloading to _document.tsx to ensure fonts are cached during initial page load, preventing FOUT during client-side navigation. The preload links use environment-aware basePath detection for proper GitHub Pages deployment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update branch in deploy config * Make build-time env vars available during runtime * Make custom domain configurable in deploy config * Prepare for custom domain * CR --------- Co-authored-by: Claude <noreply@anthropic.com> * Bump change --------- Co-authored-by: Kristin Fritsch <ich@kristin-fritsch.de> Co-authored-by: Claude <noreply@anthropic.com>
1 parent d4a3971 commit d871e2c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy-github-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
GITHUB_ACTIONS: true
4040
GITHUB_REPOSITORY: ${{ github.repository }}
4141
# Set CUSTOM_DOMAIN=true when using custom domain (e.g., opentechschool.org)
42-
# CUSTOM_DOMAIN: true
42+
CUSTOM_DOMAIN: true
4343

4444
- name: Upload artifact
4545
uses: actions/upload-pages-artifact@v3
@@ -55,4 +55,4 @@ jobs:
5555
steps:
5656
- name: Deploy to GitHub Pages
5757
id: deployment
58-
uses: actions/deploy-pages@v4
58+
uses: actions/deploy-pages@v4

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,4 @@ Have an idea and already know how to develop it? Go ahead and make a PR, we are
189189

190190
Have an idea but would like to talk to someone to know how to better proceed?
191191
Feel free to open a GitHub issue to discuss your ideas and get guidance on implementation.
192+

0 commit comments

Comments
 (0)