Skip to content

Bump qltysh/qlty-action from 2.2.0 to 2.2.1 (#731) #94

Bump qltysh/qlty-action from 2.2.0 to 2.2.1 (#731)

Bump qltysh/qlty-action from 2.2.0 to 2.2.1 (#731) #94

Workflow file for this run

---
name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
with:
ruby-version: ruby
bundler-cache: true
- name: Install yard
run: gem install yard
- name: Install redcarpet
run: gem install redcarpet
- name: Build docs
run: yard
- name: Configure CNAME
run: echo "ruby-jwt.org" > ./doc/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc