Sha256: 508d1d911831e97516890f5efcdf33977151fea4d9e53ff044cb0898ef68ffd2

Contents?: true

Size: 826 Bytes

Versions: 5

Compression:

Stored size: 826 Bytes

Contents

name: Publish Documentation to GitHub Pages
on:
  push:
    branches:
      - main
jobs:
  build:
    name: Publish Documentation to GitHub Pages ${{ matrix.ruby }}
    runs-on: ubuntu-latest
    permissions:
      contents: write
    strategy:
      matrix:
        ruby:
          - "3.2.2"
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set Up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install Dependencies
        run: gem install yard
      - name: Generate Documentation
        run: yardoc --private --exclude "unit_groups/*"
      - name: Deploy to GitHub Pages
        uses: peaceiris/actions-gh-pages@v3.9.3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./doc

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
unit_measurements-5.1.0 .github/workflows/pages.yml
unit_measurements-5.0.0 .github/workflows/pages.yml
unit_measurements-4.12.0 .github/workflows/pages.yml
unit_measurements-4.11.0 .github/workflows/pages.yml
unit_measurements-4.10.0 .github/workflows/pages.yml