Commit Graph

24 Commits

Author SHA1 Message Date
haemka 2bcbcebb60 Stop suppressing ssh-keyscan stderr in Set up SSH key step
The step failed silently (exit 1, no message) because stderr was
redirected to /dev/null while sh -e aborts on ssh-keyscan's non-zero
exit. Let the real error (DNS/firewall/etc.) show up in the log.
2026-08-13 15:25:21 +00:00
haemka 89bd4280b7 Revert DEPLOY_USER back to a secret
Only host/port were asked to move to variables; user stays a secret.
2026-08-13 15:22:00 +00:00
haemka c9daa14ec8 Move deploy host/port/user/path to repo variables, split port out
None of these are sensitive, so use Actions variables (vars) instead of
secrets. DEPLOY_PORT is now its own variable (default 22) rather than
being packed into DEPLOY_HOST. Only DEPLOY_SSH_KEY remains a secret.
2026-08-13 15:19:13 +00:00
haemka f49cb77fa4 Support non-standard SSH port in DEPLOY_HOST (fqdn:port)
ssh-keyscan and rsync's -e ssh both need the port passed via -p rather
than embedded in the hostname; parse DEPLOY_HOST accordingly, defaulting
to 22 when no port is given.
2026-08-13 15:16:54 +00:00
haemka 85543e6602 Use SSH deploy key instead of account token for theme submodule
Avoids tying CI to a personal/bot Gitea account: the same DEPLOY_SSH_KEY
secret used for the webserver rsync step is reused as a read-only Gitea
deploy key on hmk/pelican-latex. The submodule's tracked HTTPS URL is
overridden to SSH just for this checkout so it authenticates with that
key instead of needing a token with access to both repos.
2026-08-13 15:13:44 +00:00
haemka 18c855f672 Pass explicit token to checkout for private theme submodule
The default per-job Actions token only covers the triggering repo; the
theme submodule lives in a separate private repo (hmk/pelican-latex), so
cloning it needs a token with read access to both. Add CHECKOUT_TOKEN
as a repo secret (a Gitea access token with repo read scope) for this
to work.
2026-08-13 15:08:26 +00:00
haemka 31cfcf461b Install nodejs in workflow container so actions/checkout can run
python:3.12-slim has no Node.js; JS-based actions like actions/checkout
need it to execute their bundled dist/index.js.
2026-08-13 15:03:49 +00:00
haemka 31c8351b6b Add Gitea Actions workflow to build and deploy the site
Requires a self-hosted runner and repo secrets (DEPLOY_HOST, DEPLOY_USER,
DEPLOY_PATH, DEPLOY_SSH_KEY) to be set up before it will actually run.
2026-08-13 14:46:19 +00:00
haemka 16d0d8e0a2 Theme update 2026-08-13 16:02:08 +02:00
haemka 116e720ce3 Theme update 2026-08-13 15:00:56 +02:00
haemka cac298e745 New article "fhir date parameters", config changes for multilanguage
support, tarnslations for existing pages and articles
2026-08-13 12:44:58 +02:00
haemka d3b3be30f0 Updated about-me 2024-01-26 22:28:29 +01:00
haemka de5e61e152 Added article Scientific workflow with BOOX Note Air 3 C 2024-01-26 22:20:54 +01:00
haemka d4e4ca4910 Added about me page, theme test hidden, minor theme fixes 2023-04-03 16:16:28 +02:00
haemka 5be4819c17 updater script optimization 2022-09-23 17:59:06 +02:00
haemka 3c01cc9252 Theme vesion bump 2022-09-23 17:46:28 +02:00
haemka 603bbaa1f9 Site update 2022-09-23 17:40:35 +02:00
haemka 99607f5dbe Changed updater 2020-05-31 23:13:01 +02:00
haemka 49749227b7 Added update script 2020-05-31 23:07:38 +02:00
haemka 0b1ac8e121 Theme update 2020-05-31 22:05:17 +02:00
haemka c57ba4534d Theme modified 2020-05-31 20:18:41 +02:00
haemka ed71f434f4 Theme test update, fixed gitignore 2020-05-31 18:54:59 +02:00
haemka 273ff4d7ea Update 2020-05-31 18:51:45 +02:00
haemka ce39a4bc9a Initial commit 2020-05-31 15:44:53 +02:00