Skip to content
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
Generate and deploy rdoc on GH pages using GH workflow
  • Loading branch information
wildmaples committed Mar 28, 2022
commit 030be40438cbc2315b7693d1e8048af0a36a709a
25 changes: 25 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Github Pages (rdoc)
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@master

- name: Set up Ruby 💎
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.1'

- name: Install rdoc and generate docs 🔧
run: |
gem install rdoc
rdoc --op rdocs

- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./rdocs