Skip to content

Repository files navigation

website

Source for www.constructive.dev. Jekyll, built on the Type-on-Strap remote theme, deployed to GitHub Pages from the gh-pages branch.

  • Build & deploy (.github/workflows/build.yml): on push to master, builds with JEKYLL_ENV=production and force-pushes _site/ to gh-pages.

  • PR previews (.github/workflows/preview.yml): each PR gets a preview at https://www.constructive.dev/pr-preview/pr-<N>/ via rossjrw/pr-preview-action.

  • Lint (.github/workflows/lint.yml): runs scripts/lint.sh — which is exactly bundle exec overcommit --run — on every PR and push to master. The same overcommit configuration runs locally on commit; install once, then it just happens:

    bundle install
    bundle exec overcommit --install

    Rules: Markdown (mdl, style in .mdlrc + mdl_style.rb), spelling (spellr, wordlist in .spellr_wordlists/), hygiene checks (trailing whitespace, final newline, YAML/JSON syntax, merge markers, case conflicts, executable/shebang consistency) and a 72-char pane-width cap on the refactoring sample sources. Run everything at any time with scripts/lint.sh.

bundle install
bundle exec jekyll serve

Releases

Packages

Used by

Contributors

Languages