Sha256: 1cc37152f70a19b34e556adcad6c45cd567a014457b941aee0ca0fe8bcb50165

Contents?: true

Size: 1.22 KB

Versions: 55

Compression:

Stored size: 1.22 KB

Contents

name: Deploy Yard Docs

on:
  workflow_run:
    workflows:
      - Bump Gem
    types:
      - completed
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.3"
      - name: Install Yard gem
        run: gem install yard
      - name: Build Yard Docs
        run: yardoc
      - name: Upload artifact
        uses: actions/upload-pages-artifact@v1
        with:
          name: github-pages # name of the artifact
          path: ./doc
          if-no-files-found: error

  deploy:
    # Add a dependency to the build job
    needs: build

    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
    permissions:
      pages: write # to deploy to Pages
      id-token: write # to verify the deployment originates from an appropriate source

    # Deploy to the github-pages environment
    environment:
      name: github-pages # artifact name
      url: ${{ steps.deployment.outputs.page_url }}

    # Specify runner + deployment step
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v2

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
cm-admin-4.0.0 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.16 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.15 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.14 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.13 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.12 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.11 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.10 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.9 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.8 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.7 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.6 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.5 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.4 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.3 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.2 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.1 .github/workflows/deploy-yard-docs.yml
cm-admin-3.0.0 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.6 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.5 .github/workflows/deploy-yard-docs.yml