Skip to content

Merge pull request #67 from shivam091/5.14.0 #54

Merge pull request #67 from shivam091/5.14.0

Merge pull request #67 from shivam091/5.14.0 #54

Workflow file for this run

name: Publish Documentation to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
name: Publish Documentation to GitHub Pages ${{ matrix.ruby }}
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
ruby:
- "3.2.2"
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
run: gem install yard
- name: Generate Documentation
run: yardoc
- name: Deploy to GitHub Pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc