[DOC] Generate HTML documents in CI
This commit is contained in:
parent
02101f473b
commit
044f6ba23d
Notes:
git
2024-10-08 15:00:14 +00:00
12
.github/workflows/check_misc.yml
vendored
12
.github/workflows/check_misc.yml
vendored
@ -111,6 +111,18 @@ jobs:
|
||||
steps.diff.outputs.update
|
||||
}}
|
||||
|
||||
- name: Generate docs
|
||||
id: docs
|
||||
run: |
|
||||
ruby -W0 --disable-gems -I./lib tool/rdoc-srcdir --op html .
|
||||
echo htmlout=ruby-html-${GITHUB_SHA:0:10} >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload docs
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: html
|
||||
name: ${{ steps.docs.outputs.htmlout }}
|
||||
|
||||
- uses: ./.github/actions/slack
|
||||
with:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
||||
|
Loading…
x
Reference in New Issue
Block a user