Skip to content

Commit

Permalink
Upgrade process for publishing rdocs on github pages (#1237)
Browse files Browse the repository at this point in the history
* Upgrade process for publishing rdocs on github pages

* Style fix
bess authored Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 05742a9 commit f5e5969
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -31,10 +31,18 @@ jobs:
runs-on: ubuntu-latest
name: Build and deploy YARD
steps:
- uses: kachick/[email protected]
id: deployment
- name: Checkout
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
# default `doc` as default of `.yardopts`
# output-dir: 'doc'
# default version is 3.2
ruby-version: "3.3.0"
ruby-version: 3.3.0
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec yard
shell: bash
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v4
with:
# By default, upload the docs directory
path: ${{ inputs.output-dir }}
- id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f5e5969

Please sign in to comment.