fix(ci): replace GitHub URL actions with shell commands #12
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-blog-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces the broken
peaceiris/actions-hugo@v3(which fails due to composite action changes incompatible with Forgejo'sactrunner) with a directcurldownload of Hugo extended from GitHub releases.Also replaces
garygrossgarten/github-action-scp@releasewith raw ssh/scp commands to remove the last GitHub URL dependency from the workflow.Cleanups:
actions/setup-gostep (Hugo is a static binary, no Go runtime needed)actions/cachestep (Hugo build is fast enough)pull_requesttrigger so PRs validate CIif: github.ref == 'refs/heads/main'on Deploy to skip SCP on PRs