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/checkout@v2.3.4 | |
with: | |
ref: main | |
- name: Swift Doc | |
uses: SwiftDocOrg/swift-doc@1.0.0-rc.1 | |
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/github-pages-deploy-action@4.1.4 | |
with: | |
branch: gh-pages | |
folder: Documentation |