add codeql file back, as its recommended to be seperate #14
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: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: main | |
- 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: Update Permissions | |
run: 'sudo chown --recursive $USER Documentation' | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: Documentation |