Skip to content

Fix deployment workflow to build Hugo manually#332

Merged
rjocham merged 1 commit intomainfrom
fix-deployment-workflow
Feb 17, 2026
Merged

Fix deployment workflow to build Hugo manually#332
rjocham merged 1 commit intomainfrom
fix-deployment-workflow

Conversation

@rjocham
Copy link
Collaborator

@rjocham rjocham commented Feb 17, 2026

Summary

  • Install Hugo Extended v0.146.0 via peaceiris/actions-hugo@v3 to avoid Oryx unsupported Go 1.24.5 error
  • Build site with hugo --minify --environment production before deploying
  • Set skip_app_build to bypass Oryx build entirely
  • Add branch input selector for workflow_dispatch
  • Update actions/checkout from v3 to v4
  • Remove dead close_pull_request_job (unreachable with workflow_dispatch trigger)

Test plan

  • Trigger the workflow manually from Actions tab and confirm it builds and deploys successfully

This change is Reviewable

- Install Hugo Extended v0.146.0 via peaceiris/actions-hugo@v3 to avoid
  Oryx unsupported Go version error
- Build site with hugo --minify before deploying
- Set skip_app_build to bypass Oryx build entirely
- Add branch input for workflow_dispatch
- Update actions/checkout to v4
- Remove dead close_pull_request_job

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://agreeable-island-0c966e810-332.centralus.6.azurestaticapps.net

@rjocham rjocham merged commit 29c3a94 into main Feb 17, 2026
5 checks passed
@rjocham rjocham deleted the fix-deployment-workflow branch February 17, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant