Skip to content

Simplify gemspec without Rake as library. #11

Simplify gemspec without Rake as library.

Simplify gemspec without Rake as library. #11

Workflow file for this run

name: Build and deploy documentation to GitHub Pages
on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
- name: Run RDoc
run: rdoc
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: doc
deploy:
needs: build-and-deploy
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}