Sha256: 69674a8b858e9005d2ac74f8eba9bf0882b3a97ec412827afd087a2bdc8e72da

Contents?: true

Size: 1.09 KB

Versions: 15

Compression:

Stored size: 1.09 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-node@v2
        with:
          node-version: 18
      - name: Install required npm dependencies
        run: npm install -g markdown-to-html
      - name: Create docs
        run: mkdir docs
      - name: Generate docs
        run: github-markdown README.md -s https://cdn.simplecss.org/simple-v1.css > docs/index.html
      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        with:
          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
          publish_dir: ./docs

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
synvert-1.4.3 .github/workflows/main.yml
synvert-1.4.2 .github/workflows/main.yml
synvert-1.4.1 .github/workflows/main.yml
synvert-1.4.0 .github/workflows/main.yml
synvert-1.3.0 .github/workflows/main.yml
synvert-1.2.6 .github/workflows/main.yml
synvert-1.2.5 .github/workflows/main.yml
synvert-1.2.4 .github/workflows/main.yml
synvert-1.2.2 .github/workflows/main.yml
synvert-1.2.1 .github/workflows/main.yml
synvert-1.2.0 .github/workflows/main.yml
synvert-1.1.3 .github/workflows/main.yml
synvert-1.1.2 .github/workflows/main.yml
synvert-1.1.1 .github/workflows/main.yml
synvert-1.1.0 .github/workflows/main.yml