Skip to content

Bump ruby to 3.4 era in devshell (#668) #54

Bump ruby to 3.4 era in devshell (#668)

Bump ruby to 3.4 era in devshell (#668) #54

Workflow file for this run

name: Deploy API docs to GitHub Pages
on:
push:
branches: ['main']
paths:
- '.github/workflows/pages.yml'
- '.yardopts'
- 'lib/**'
- '**.gemspec'
- 'Gemfile'
- 'README.md'
- '**.txt'
- '.ruby-version'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy_yard:
timeout-minutes: 15
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
name: Build and deploy YARD
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ruby/setup-ruby@bfefad842bb982ff05b233bcbc1571d97a87e69f # v1.206.0
with:
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@v3
with:
path: doc
- id: deployment
uses: actions/deploy-pages@v4