Sha256: 17af93a1682f5d5a89fe939b04874757d5ee3b8e780a946e0e5602c35e99f84a

Contents?: true

Size: 1.02 KB

Versions: 24

Compression:

Stored size: 1.02 KB

Contents

name: Test & deploy documentation

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.6', '2.7', '3.0', '3.1']

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Run tests
      run: bundle exec rake

  deploy:
    runs-on: ubuntu-latest
    needs: test
    name: Update gh-pages to docs
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: '3.1'
      - name: Install required gem dependencies
        run: gem install yard redcarpet github-markup --no-document
      - name: Build YARD Ruby Documentation
        run: yardoc --output-dir docs
      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
          publish_dir: ./docs

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
synvert-core-1.21.6 .github/workflows/main.yml
synvert-core-1.21.5 .github/workflows/main.yml
synvert-core-1.21.4 .github/workflows/main.yml
synvert-core-1.21.3 .github/workflows/main.yml
synvert-core-1.21.2 .github/workflows/main.yml
synvert-core-1.21.1 .github/workflows/main.yml
synvert-core-1.21.0 .github/workflows/main.yml
synvert-core-1.20.0 .github/workflows/main.yml
synvert-core-1.19.0 .github/workflows/main.yml
synvert-core-1.18.1 .github/workflows/main.yml
synvert-core-1.18.0 .github/workflows/main.yml
synvert-core-1.17.0 .github/workflows/main.yml
synvert-core-1.16.0 .github/workflows/main.yml
synvert-core-1.15.0 .github/workflows/main.yml
synvert-core-1.14.2 .github/workflows/main.yml
synvert-core-1.14.1 .github/workflows/main.yml
synvert-core-1.14.0 .github/workflows/main.yml
synvert-core-1.13.1 .github/workflows/main.yml
synvert-core-1.13.0 .github/workflows/main.yml
synvert-core-1.12.0 .github/workflows/main.yml