Skip to content

polarweasel/sewing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polarweasel dot org

Website

This repo generates the main site at polarweasel.org using a static site generator (Hugo).

How's it work?

The basic (human) workflow is: edit markdown, run Hugo to make sure it's happy, commit, push. Then, GitHub takes over: first, building the site with Hugo, and then using rsync to send only changed files to the web host.

There are some interesting details, like the web host's SSH credentials are kept as an encrypted secret in the repository. On the web host end, the credentials that GitHub uses to send the files are restricted to only the directory that serves the site.

Helpful commands

Run the live-reload server:

hugo server -D --disableFastRender

Build the site, putting the generated site into the public directory:

hugo

# Or, from the root of the repository, as the GitHub Action does:

hugo -s sewing-info/

License

This repo is licensed under the CC BY-NC-SA 4.0 license. For more details, read the Creative Commons description of the CC BY-NC-SA 4.0 license.

About

Sewing content for polarweasel.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published