Skip to content

Bump actions/checkout from 6.0.3 to 7.0.0 (#734) #97

Bump actions/checkout from 6.0.3 to 7.0.0 (#734)

Bump actions/checkout from 6.0.3 to 7.0.0 (#734) #97

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.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