Skip to content

update doc command

update doc command #29

name: Document Code
on:
push:
branches:
- main
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/[email protected]
with:
ref: main
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install Jazzy
run: gem install jazzy
- name: Run Jazzy docs
run: jazzy --root-url https://kukai-crypto-swift.kukai.app/ --output Documentation
- name: Update Permissions
run: 'sudo chown -R $USER Documentation'
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: Documentation
#- name: Publish Jazzy Docs
# uses: steven0351/publish-jazzy-docs@v1
# with:
# personal_access_token: ${{ secrets.JAZZY_DOCS }}
# args: "--root-url https://kukai-crypto-swift.kukai.app/"
#- name: Swift Doc
# uses: SwiftDocOrg/[email protected]
# with:
# inputs: "Sources"
# module-name: KukaiCryptoSwift
# format: "html"
# output: "Documentation"
# base-url: "https://kukai-crypto-swift.kukai.app/"
#- name: Documentation
# uses: sersoft-gmbh/swifty-docs-action@v3
# with:
# use-xcodebuild: true
# output: Documentation
# hosting-base-path: "https://kukai-crypto-swift.kukai.app/"
#- name: Update Permissions
# run: 'sudo chown --recursive $USER Documentation'
#- name: Deploy to GitHub Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: Documentation