No description
  • HTML 53.1%
  • Sass 30.6%
  • Python 11.5%
  • CSS 2.3%
  • Makefile 2.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. df7cd954c2
All checks were successful
Build and deploy / build-and-deploy (push) Successful in 3m21s
Authenticate the setup actions against the GitHub API
setup-go, setup-node and setup-bun resolve versions through
api.github.com. Anonymously that is sixty requests an hour for the
whole runner host, and the jobs started failing on it. GH_API_TOKEN is
a read-only GitHub token held as a Forgejo secret.

Where the secret is absent the input is empty and the action falls back
to an anonymous request, exactly as before.
2026-09-22 12:54:19 +02:00
.github/workflows Authenticate the setup actions against the GitHub API 2026-09-22 12:54:19 +02:00
archetypes refactor: moved to hugo 2024-06-19 23:57:48 +02:00
assets refactor: moved to hugo 2024-06-19 23:57:48 +02:00
content FMG-10: correct the STL previews guide and point it at forgejo-stlview (#5) 2026-09-21 14:02:12 +02:00
layouts/partials refactor: moved to hugo 2024-06-19 23:57:48 +02:00
resources/_gen/assets/sass removed gen files 2024-08-08 21:37:26 +02:00
themes/fmartingr chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
.gitignore Add inline code styling, now page, and misc updates 2026-03-15 19:01:22 +01:00
.hugo_build.lock refactor: moved to hugo 2024-06-19 23:57:48 +02:00
go.mod chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
go.sum chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
hugo.toml added projects section 2025-04-03 18:53:50 +02:00
lektor2hugo.py refactor: moved to hugo 2024-06-19 23:57:48 +02:00
Makefile fix: makefile new-post title 2025-04-21 20:14:21 +02:00
README.md FMG-7: migrate deploy pipeline from Woodpecker to Forgejo Actions (#3) 2026-09-09 19:04:35 +02:00

fmartingr.com

Source code for my personal site hosted at fmartingr.com

Development

make server     # local preview, including drafts and future-dated posts
make new-post   # scaffold a post under content/blog/YYYY/MM/DD/

The theme transpiles Sass, so a Hugo extended build is required.

Deployment

.github/workflows/deploy.yml builds the site and rsyncs public/ to the web host over SSH.

The build runs on every pull request against master, so a broken site is caught before merge. The deploy step is skipped there and only runs for pushes to master, the daily schedule (so posts dated in the future get published once their date arrives), and manual dispatches.

The deploy rsyncs with --delete, so anything under SSH_PATH that the build does not produce is removed from the server.

It needs the following Actions secrets:

Secret Description
SSH_HOST Hostname of the web server
SSH_USER SSH login user
SSH_PATH Remote directory the site is copied into
SSH_PRIVATE_KEY Private key contents for SSH_USER