Skip to content

Merge pull request #784 from rhenium/ky/github-actions-cleanup #13

Merge pull request #784 from rhenium/ky/github-actions-cleanup

Merge pull request #784 from rhenium/ky/github-actions-cleanup #13

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true # 'bundle install' and cache gems
- run: rake rdoc
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: html
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4