Skip to content

Update project to ParadoxV5/template-ruby-gem@c42f2a02 #38

Update project to ParadoxV5/template-ruby-gem@c42f2a02

Update project to ParadoxV5/template-ruby-gem@c42f2a02 #38

Workflow file for this run

name: Generate Documentation with YARD
on:
push:
paths:
- .github/workflows/documentation.yml
- .yardopts
- docs/**
- ext/**
- lib/**
- README.md
- Gemfile
pull_request:
paths:
- .github/workflows/documentation.yml
- .yardopts
- docs/**
- lib/**
- README.md
- Gemfile
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3'
bundler-cache: true
- name: Package YARD
run: bundle exec yard doc
- uses: actions/upload-pages-artifact@v3
with:
path: doc
deploy:
needs: build
if: github.ref_name == 'main'
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
concurrency:
group: pages
cancel-in-progress: true
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/configure-pages@v5
- id: deploy-pages
uses: actions/deploy-pages@v4