DTPOMERSER-1389 Update OS to runner mac-15, install swiftlinter and a… #25
This file contains hidden or 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/[email protected] | |
with: | |
build_dir: docs | |
github_token: ${{ secrets.GITHUB_TOKEN }} |