[DOC] Generate HTML documents in CI

This commit is contained in:
Nobuyoshi Nakada 2024-10-08 23:51:33 +09:00
parent 02101f473b
commit 044f6ba23d
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2024-10-08 15:00:14 +00:00

View File

@ -111,6 +111,18 @@ jobs:
steps.diff.outputs.update 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 - uses: ./.github/actions/slack
with: with:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot