sneak b157bfd52c
All checks were successful
check / check (push) Successful in 10s
Install runner prerequisites in the pinned build container (closes #7)
Replacing klakegg/hugo:ext-alpine with the Dockerfile's pinned alpine
digest satisfied the pinning requirement but dropped the runtime the
Actions runner itself depends on, which would have broken the deploy:

- act_runner executes JavaScript actions with `node` inside the job
  container and does not inject one. Stock alpine has no node, so
  actions/checkout - the job's first step - would fail with
  "node: not found", and script/bootstrap (which installs node) is step
  2 and never runs. The build job fails, deploy is skipped for
  `needs: build`, and the site stops publishing.
- Steps default to `bash`, which stock alpine does not ship either.

Fixes, both scoped to keeping the mandated image replacement runnable:

- A pre-checkout inline `run:` step (`apk add --no-cache nodejs git tar`)
  installs what the runner needs before the first `uses:` step. An
  inline run needs only a shell, so it works on the bare image. git is
  there for checkout's `submodules: recursive`; without it checkout
  degrades to a tarball download that cannot do submodules.
- `defaults.run.shell: sh` on the build job, so the shell is stated
  rather than left to a bash-to-sh fallback.

No pinned value is touched. The apk packages resolve at run time and are
not hash-pinned; that gap is repo-wide (script/bootstrap has it too) and
is tracked in #19.

Also moves each version/date comment to sit directly above the pinned
line rather than above the step's `- name:`, matching check.yml, and
dates the actions/checkout pin 2026-02-28 as check.yml already does for
the same SHA.

Verified by running the build job's step sequence inside the pinned
alpine digest: bare, `node` and `bash` are absent and the pinned
checkout bundle dies with "node: not found"; after the new apk step,
node 22.23.2, git 2.47.3 and GNU tar 1.35 are present, that same
checkout bundle runs under node and gets as far as "GITHUB_WORKSPACE not
defined", and script/bootstrap, script/test and the tar step all
complete. make check and script/cibuild (with the build cache pruned, so
nothing was CACHED) are green.
2026-08-09 02:15:44 +00:00

lora.vegas

Las Vegas Meshtastic and LoRa community website.

About

This site provides information about the Las Vegas mesh networking community, including:

  • Mesh channel configurations
  • Community coordination (Discord, Signal)
  • Meetup information
  • Local resources

Contributing

To contribute to this site, contact sneak@sneak.berlin for git repository access.

Technical Details

This is a static site built with Hugo. The site is deployed automatically via GitHub Actions.

Local Development

hugo server

Visit http://localhost:1313 to preview.

Build

hugo

Output will be in the public/ directory.

Entrypoints

This repository adheres to the Scripts to Rule Them All standard: normalized scripts in script/ are the entrypoints for the development workflow, and the Makefile targets are thin shims that call them. We provide:

  • script/bootstrap — install all build dependencies (git, make, hugo, node/npm) idempotently
  • script/setup — prepare a fresh clone: run script/bootstrap and install the git pre-commit hook
  • script/test — the correctness check: a clean hugo --minify production build
  • script/lint — a clean build that surfaces broken links and path collisions
  • script/fmt — format the repo's own top-level markdown docs with prettier
  • script/fmt-check — check that formatting (read-only)
  • script/check — run script/fmt-check then script/test; modifies nothing
  • script/docker — build the Docker image tagged with the project name
  • script/cibuild — the CI build (docker build .); the Dockerfile runs make check
  • script/install-precommit — install the git pre-commit hook that runs script/check

A convenience make serve target runs hugo server for local preview.

License

Content is provided as-is for community use.

Description
No description provided
https://lora.vegas
Readme MIT 320 KiB
Languages
Shell 72.9%
Dockerfile 13.4%
CSS 8.1%
HTML 3.7%
Makefile 1.9%