Skip to content

Personal website in next.js deployed on gcp with terraform

Notifications You must be signed in to change notification settings

gardberg/personal-website

Repository files navigation

gardberg.xyz

Code for my personal website gardberg.xyz

Terraform

Created bucket to store terraform state in under /terraform/bootstrap.

TODO

  • Fix syntax highlighting in blog posts
  • Add a separate component for blog posts
  • Make faviocon show
  • set up CD
  • set up https
  • add custom hostname
  • reduce image size
    • removed unecessary packages
    • multi stage build
  • fix pdf preview on chrome mobile
    • a bit of a hassle, tried google docs hosting, slow
  • add rolling update & healthcheck endpoint
  • move to firebase

Dev

firebase login

firebase projects:list

Build and run locally:

npm run build

firebase emulators:start or firebase serve --only hosting

The first command emulates other more complex services, such as storage or authentication, while serve just serves static content.

  • Created service account github-action-872125068
  • Acces JSON stored in FIREBASE_SERVICE_ACCOUNT_PERSONAL_WEBSITE_71699
  • PR & merge workflows created for main

About

Personal website in next.js deployed on gcp with terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published