add .github/workflows/build-test.yml for development.#119
Merged
kydos merged 1 commit intozenoh-rs:masterfrom Feb 2, 2026
Merged
add .github/workflows/build-test.yml for development.#119kydos merged 1 commit intozenoh-rs:masterfrom
kydos merged 1 commit intozenoh-rs:masterfrom
Conversation
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya
commented
Jan 21, 2026
Contributor
Author
fujitatomoya
left a comment
There was a problem hiding this comment.
I think this kind of workflow for documentation CI/CD pipeline is necessary to keep the quality and maintainability to make sure each PR does not break the documentation.
@JEnoch same here. no rush, when you have time, please have a look 😄
| build: | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v2 |
Contributor
Author
There was a problem hiding this comment.
this is kinda old... but i just aligned with other workflow file. we probably could enable dependabot to upgrade those actions in the future.
Comment on lines
+30
to
+40
| - name: Verify build output | ||
| run: | | ||
| if [ ! -d "public" ]; then | ||
| echo "Error: public directory not created" | ||
| exit 1 | ||
| fi | ||
| if [ ! -f "public/index.html" ]; then | ||
| echo "Error: index.html not found in public directory" | ||
| exit 1 | ||
| fi | ||
| echo "Build successful!" |
Contributor
Author
There was a problem hiding this comment.
if hugo could not build the documentation successfully, this detects the failure. and then CI failure tells the developer needs to address the failure via workflow.
Contributor
Author
sashacmc
approved these changes
Jan 28, 2026
Contributor
|
@fujitatomoya thanks for the contribution. Merging it! |
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.
This is enhancement for CI/CD to verifies that the PR fix does not break the documentation.
This github workflow checks every commit (or push to the development branch) to make sure
hugocan build the documentation without any errors.