- bug fix safety check #32
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: 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 |