Sha256: 1cc37152f70a19b34e556adcad6c45cd567a014457b941aee0ca0fe8bcb50165

Contents?: true

Size: 1.22 KB

Versions: 56

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

56 entries across 56 versions & 1 rubygems

Version Path
cm-admin-2.4.5 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.4 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.3 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.2 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.1 .github/workflows/deploy-yard-docs.yml
cm-admin-2.4.0 .github/workflows/deploy-yard-docs.yml
cm-admin-2.3.4 .github/workflows/deploy-yard-docs.yml
cm-admin-2.3.3 .github/workflows/deploy-yard-docs.yml
cm-admin-2.3.2 .github/workflows/deploy-yard-docs.yml
cm-admin-2.3.1 .github/workflows/deploy-yard-docs.yml
cm-admin-2.3.0 .github/workflows/deploy-yard-docs.yml
cm-admin-2.2.1 .github/workflows/deploy-yard-docs.yml
cm-admin-2.2.0 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.5 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.4 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.3 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.2 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.1 .github/workflows/deploy-yard-docs.yml
cm-admin-2.1.0 .github/workflows/deploy-yard-docs.yml
cm-admin-2.0.2 .github/workflows/deploy-yard-docs.yml