-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[ISSUE #2434]🔨Fix jekyll-gh-pages.yml action error #2435
Conversation
WalkthroughThe pull request modifies the GitHub Actions workflow for Jekyll site deployment by adding a specific path parameter to the "Upload artifact" step. The change explicitly defines the artifact upload location as Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
🔊@mxsm 🚀Thanks for your contribution🎉! 💡CodeRabbit(AI) will review your code first🔥! Note 🚨The code review suggestions from CodeRabbit are to be used as a reference only, and the PR submitter can decide whether to make changes based on their own judgment. Ultimately, the project management personnel will conduct the final code review💥. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2435 +/- ##
=======================================
Coverage 28.64% 28.64%
=======================================
Files 510 510
Lines 73491 73491
=======================================
Hits 21048 21048
Misses 52443 52443 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/jekyll-gh-pages.yml (1)
41-42
: Consider using environment variables for path consistency.While the current implementation works correctly, consider defining the Jekyll source and destination paths as environment variables at the workflow level for better maintainability and consistency.
Here's how you could improve it:
name: Deploy Jekyll with GitHub Pages dependencies preinstalled on: push: branches: ["main"] paths: ["rocketmq-doc/**"] workflow_dispatch: + env: + JEKYLL_SOURCE: ./rocketmq-doc + JEKYLL_DEST: ./rocketmq-doc/_site jobs: build: runs-on: ubuntu-latest steps: - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: - source: ./rocketmq-doc - destination: ./rocketmq-doc/_site + source: ${{ env.JEKYLL_SOURCE }} + destination: ${{ env.JEKYLL_DEST }} - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: rocketmq-doc/_site + path: ${{ env.JEKYLL_DEST }}
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/jekyll-gh-pages.yml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (9)
- GitHub Check: build (windows-latest, nightly)
- GitHub Check: build (windows-latest, stable)
- GitHub Check: build (macos-latest, nightly)
- GitHub Check: build (macos-latest, stable)
- GitHub Check: build (ubuntu-latest, nightly)
- GitHub Check: test
- GitHub Check: build
- GitHub Check: build (ubuntu-latest, stable)
- GitHub Check: auto-approve
🔇 Additional comments (1)
.github/workflows/jekyll-gh-pages.yml (1)
41-42
: LGTM! The path parameter addition fixes the artifact upload.The explicit path specification ensures that the correct build output from Jekyll is uploaded, matching the destination path from the build step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Which Issue(s) This PR Fixes(Closes)
Fixes #2434
Brief Description
How Did You Test This Change?
Summary by CodeRabbit