Skip to content

Workflow file for this run

# https://github.com/kachick/deploy-yard-to-pages
name: Deploy API docs to GitHub Pages
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
# 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:
# The deploy environment (not to be confused with env).
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
name: Build and deploy YARD
if: github.ref_name == 'main'
steps:
- uses: kachick/deploy-yard-to-pages@v1
id: deployment