[CI] Migrate to npm-managed local Hugo and standardise Makefile targets#230
Open
hebypaul wants to merge 1 commit into
Open
[CI] Migrate to npm-managed local Hugo and standardise Makefile targets#230hebypaul wants to merge 1 commit into
hebypaul wants to merge 1 commit into
Conversation
Signed-off-by: Heby T Paul <hebytpaul1111@gmail.com>
|
🚀 Preview deployment: https://layer5io.github.io/layer5-academy/pr-preview/pr-230/
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notes for Reviewers
This PR updates the local development environment for the
layer5-academyrepository to use an npm-managed version of Hugo (extended) and standardizes the Makefile targets. This streamlines the setup process by removing the need for contributors to globally install Hugo on their local machines, ensuring version consistency between local environments and CI workflows.Key Changes:
check-depstarget to validate dependencies and rerouted standard commands (site,serve,build,clean) to trigger their respective local npm scripts.dev:*scripts (e.g.,dev:build,dev:site,dev:serve) to explicitly handle Hugo commands using the local node module.README.mdandCONTRIBUTING.mdto remove references to a global Hugo installation and emphasize the unifiedmake setup->make siteworkflow.Acceptance Tests:
make setupinstalls the local hugo-extended dependency cleanly.make sitesuccessfully spins up the local development server using the NPM-managed binary.make cleancorrectly wipes the build cache.This PR fixes #228
Signed commits