Fix CI script #23
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: Update Documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
documentation: | |
name: Documentation | |
strategy: | |
matrix: | |
include: | |
- os: macos-13 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Jazz | |
run: gem install jazzy | |
- name: Generate documentation | |
run: | | |
jazzy \ | |
--min-acl public \ | |
--no-hide-documentation-coverage \ | |
--theme fullwidth \ | |
--title HyperwalletSDK \ | |
--module HyperwalletSDK \ | |
--output ./docs \ | |
--documentation=./*.md | |
- name: Publish on GitHub Pages | |
uses: ftnext/action-push-ghpages@v1.0.0 | |
with: | |
build_dir: docs | |
github_token: ${{ secrets.GITHUB_TOKEN }} |