FMG-7: migrate deploy pipeline from Woodpecker to Forgejo Actions #3

Merged
fmartingr merged 2 commits from butterrobot/fmg-7-forgejo-actions into master 2026-09-09 19:04:35 +02:00 AGit
Contributor

Replaces .woodpecker/deploy.yml with .github/workflows/deploy.yml. Same shape as before: build with Hugo, then rsync public/ to the web host over SSH using the existing SSH_HOST / SSH_USER / SSH_PATH / SSH_PRIVATE_KEY secrets (re-add them as Actions secrets). The hand-rolled SSH setup is replaced by actions/ssh-deploy-action; the Woodpecker 'Daily build' cron becomes a schedule: trigger at 04:00 UTC, plus workflow_dispatch. Hugo is installed from a pinned, checksum-verified extended release because ci-base does not ship it and the theme transpiles Sass.

Replaces .woodpecker/deploy.yml with .github/workflows/deploy.yml. Same shape as before: build with Hugo, then rsync public/ to the web host over SSH using the existing SSH_HOST / SSH_USER / SSH_PATH / SSH_PRIVATE_KEY secrets (re-add them as Actions secrets). The hand-rolled SSH setup is replaced by actions/ssh-deploy-action; the Woodpecker 'Daily build' cron becomes a schedule: trigger at 04:00 UTC, plus workflow_dispatch. Hugo is installed from a pinned, checksum-verified extended release because ci-base does not ship it and the theme transpiles Sass.
Replaces .woodpecker/deploy.yml with .github/workflows/deploy.yml, keeping
the same shape: build with Hugo, then rsync public/ to the web host over SSH
using the existing SSH_HOST / SSH_USER / SSH_PATH / SSH_PRIVATE_KEY secrets.

The hand-rolled SSH setup is replaced by actions/ssh-deploy-action, and the
Woodpecker "Daily build" cron becomes a schedule: trigger, plus
workflow_dispatch for manual runs.

Hugo is installed from a pinned, checksum-verified extended release because
the ci-base image does not ship it and the theme transpiles Sass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ci: verify the build on pull requests and rsync with --delete
All checks were successful
Build and deploy / build-and-deploy (pull_request) Successful in 52s
7375ce25e6
The build step now also runs for pull requests against master, so a broken
site is caught before merge. Deploying is gated behind the event type, so
only pushes to master, the daily schedule and manual dispatches publish.

rsync now runs with --delete: files no longer produced by the build are
removed from the server instead of lingering.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
fmartingr merged commit e872342c86 into master 2026-09-09 19:04:35 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fmartingr/fmartingr.com!3
No description provided.