chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & deploy documentation | |
on: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
working-directory: gems/yrb-actioncable | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Update gh-pages with docs | |
steps: | |
- name: Checkout this repo | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.1" | |
- name: Install required gem dependencies | |
run: gem install yard github-markup redcarpet --no-document | |
- name: Build YARD Ruby Documentation | |
run: yardoc --output-dir ./doc | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./gems/yrb-actioncable/doc | |
publish_branch: gh-pages |