citation-file-format/ruby-cff

View on GitHub
.github/workflows/docs.yml

Summary

Maintainability
Test Coverage
name: Documentation

on:
  push:
    branches:
      - main

jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout rubyzip code
        uses: actions/checkout@v3

      - name: Install and set up ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.6
          bundler-cache: true

      - name: Run RDoc
        run: bundle exec rake rdoc

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          branch: gh-pages
          folder: html