fix(ci): replace GitHub URL actions with shell commands #12

Merged
radu merged 2 commits from fix/ci-blog-build into main 2026-07-20 10:04:32 +00:00
Owner

Replaces the broken peaceiris/actions-hugo@v3 (which fails due to composite action changes incompatible with Forgejo's act runner) with a direct curl download of Hugo extended from GitHub releases.

Also replaces garygrossgarten/github-action-scp@release with raw ssh/scp commands to remove the last GitHub URL dependency from the workflow.

Cleanups:

  • Removes orphaned actions/setup-go step (Hugo is a static binary, no Go runtime needed)
  • Removes actions/cache step (Hugo build is fast enough)
  • Adds pull_request trigger so PRs validate CI
  • Adds if: github.ref == 'refs/heads/main' on Deploy to skip SCP on PRs
Replaces the broken `peaceiris/actions-hugo@v3` (which fails due to composite action changes incompatible with Forgejo's `act` runner) with a direct `curl` download of Hugo extended from GitHub releases. Also replaces `garygrossgarten/github-action-scp@release` with raw ssh/scp commands to remove the last GitHub URL dependency from the workflow. Cleanups: - Removes orphaned `actions/setup-go` step (Hugo is a static binary, no Go runtime needed) - Removes `actions/cache` step (Hugo build is fast enough) - Adds `pull_request` trigger so PRs validate CI - Adds `if: github.ref == 'refs/heads/main'` on Deploy to skip SCP on PRs
fix(ci): replace GitHub URL actions with shell commands
Some checks failed
Build and deploy website / Build and Push Hugo Site (pull_request) Failing after 3s
9de0a667f5
Replace the broken peaceiris/actions-hugo@v3 (which uses composite
actions incompatible with Forgejo's act runner) with a direct curl
download of the Hugo extended .deb package from GitHub releases.

Replace garygrossgarten/github-action-scp@release with raw ssh/scp
commands to avoid the GitHub URL dependency entirely.

Remove actions/setup-go and actions/cache steps - Hugo is a static
binary that doesn't need Go at runtime, and the Hugo build is fast
enough without cache.

Add pull_request trigger for PR CI validation.
Add if: github.ref check to skip deploy on PRs.
fix(ci): replace actions/checkout with manual git clone
Some checks failed
Build and deploy website / Build and Push Hugo Site (pull_request) Failing after 2s
615bf2d852
actions/checkout@v7 appears to fail on this repo (diagnostic workflow
without checkout succeeds; all workflows with checkout fail at 3-5s).
Use a direct git clone of the public repo instead.
radu merged commit 1bfb174e5f into main 2026-07-20 10:04:32 +00: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
radu/blog!12
No description provided.