Skip to content

Merge pull request #192 from lyrasis/iterative-cleanup-tweak #199

Merge pull request #192 from lyrasis/iterative-cleanup-tweak

Merge pull request #192 from lyrasis/iterative-cleanup-tweak #199

Workflow file for this run

name: Build & deploy documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Update gh-pages with docs
steps:
- name: Checkout this repo
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
- name: Install yard
run: gem install yard --no-document
- name: Install kramdown
run: gem install kramdown
- name: Build YARD Ruby Documentation
run: yardoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages