hakanensari/peddler

View on GitHub
.github/workflows/docs.yml

Summary

Maintainability
Test Coverage
name: docs

on:
  push:
    branches:
      - main
    tags:
      - "v[0-9]+.[0-9]+.[0-9]+"

permissions:
  id-token: write
  pages: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.3"
          bundler-cache: true
      - run: bundle exec rake yard
      - uses: actions/upload-pages-artifact@v3
        with:
          path: doc/
      - uses: actions/deploy-pages@v4