Sha256: 50301bf7e87189d1d65d2ac8c1f1e0320ac4b1912e962deac6febe14fa1c99a7

Contents?: true

Size: 792 Bytes

Versions: 2

Compression:

Stored size: 792 Bytes

Contents

name: Generate Documentation

on:
  push:
    branches: [main]

jobs:
  docs:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.1
          bundler: default
          bundler-cache: true

      - name: Install YARD
        run: gem install yard

      - name: Generate documentation
        run: yard --protected --output-dir ./docs  lib/**/*.rb

      - name: Configure git
        run: |
          git config user.name "GitHub Actions Bot"
          git config user.email "<>"

      - name: Commit new files
        run: |
          # Stage files, then commit and push
          git add .
          git commit -m "Update documentation"
          git push origin main

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
op_connect-0.1.3 .github/workflows/docs.yml
op_connect-0.1.2 .github/workflows/docs.yml