Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade process for publishing rdocs on github pages #1237

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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