stonecharioteer / blog

Website code

Home Page:https://stonecharioteer.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stonecharioteer.com

Publish Github Pages

This is the sphinx-based source code for my blog.

To build this using gh-actions, I recommend starting a runner using docker. I prefer running the runner locally instead of using a cloud runner.

First, set the following environment variables:

  1. RUNNER_NAME
  2. GITHUB_ACCESS_TOKEN
  3. REPO_URL

Check the justfile for easier ways to do this. Currently, the actions uses the cloud runner, but this is left documented for legacy purposes.

docker run -d --name blog-runner --rm --pull=always -e RUNNER_WORK_DIR=/tmp/runner/ \
    -e RUNNER_NAME=$RUNNER_NAME -e GITHUB_ACCESS_TOKEN=$GITHUB_ACCESS_TOKEN -e RUNNER_REPOSITORY_URL=$REPO_URL \
    -v /tmp/runner:/tmp/runner--rm tcardonne/github-runner:ubuntu-20.04

Tips

Set the values of those envvars using direnv, it makes things easy.

Use incrontab to configure the autobuild. Here's what I use right now:

$HOME/code/checkouts/personal/blog/source	IN_MODIFY,IN_ATTRIB,IN_CREATE,IN_DELETE,IN_MOVE	/usr/bin/bash $HOME/code/checkouts/personal/blog/build.sh $@/$#

Categories

  • Health
  • Personal
  • Reading
  • Show and Tell
  • Tech
  • Updates
  • Writing

Tags

I'm going to use these tags:

  • ADHD
  • Advent of Code
  • Algorithms
  • Ansible
  • Arduino
  • BangPypers
  • Bipolar Disorder
  • Career Advice
  • Conda
  • Conferences
  • Covid-19
  • Data Structures
  • Developer Experience
  • Developer Relations
  • Development Environment
  • Django
  • Docker
  • Documentation
  • Dotfiles
  • Electronics
  • Empathy
  • Fiction
  • Flask
  • Focus
  • Furo
  • Goals
  • Golang
  • GopherCon
  • Hearing Loss
  • Hobbies
  • Hugo
  • K3s
  • Kubernetes
  • Leadership
  • Learning
  • Leetcode
  • Libraries
  • Mechanical Keyboards
  • Meetups
  • Mental Health
  • Merkle Science
  • Meta
  • Microk8s
  • Minikube
  • Mythology
  • Neovim
  • Nostalgia
  • Notes
  • Oso
  • Philosophy
  • Podcasts
  • Podman
  • Programming
  • PyCon
  • Pyenv
  • Python
  • Rabbit Hole
  • RabbitMQ
  • Raspberry Pi
  • Rust
  • Screencast
  • Security
  • Single-Sided Deafness
  • Sphinx
  • Statistics
  • TIL
  • Teaching
  • Technical Interviews
  • Thoughts
  • Travel
  • Typing
  • Ubuntu
  • Vagrant
  • Vim
  • Virtualenv
  • Visa
  • Web Development
  • Zen

About

Website code

https://stonecharioteer.com


Languages

Language:Python 77.5%Language:Rust 7.1%Language:JavaScript 5.1%Language:CSS 4.5%Language:Go 1.8%Language:Just 1.1%Language:Jinja 1.0%Language:Makefile 0.8%Language:HTML 0.5%Language:Shell 0.4%Language:Polar 0.2%