Categorygithub.com/Piszmog/website
repositorypackage
1.2.2
Repository: https://github.com/piszmog/website.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Website

My personal website written in Go and templ. It is a static site that is deployed to Cloudflare.

Dependencies

Run

The application can be ran as a single binary or generate static files that can be deployed.

Binary

Build the application and simply run it.

Static

Simple website built using Go and templ.

To generate static files run,

go run main.go -gen -ver v1.0.0

Static file will be written to ./public.

Deploy

Run the release.yml workflow by specifying the version to deploy. Part of the workflow will copy all files in the ./public directory to the pages git branch.

Cloudflare Pages is monitoring changes to the branch. When it detects a change, it will deploy the latest changes.