-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Upgrade process for publishing rdocs on github pages (#1237)
* Upgrade process for publishing rdocs on github pages * Style fix
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |