-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (32 loc) · 947 Bytes
/
document.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Document Code
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install GraphViz
run: |
sudo apt install graphviz
- name: Generate Documentation
# uses: SwiftDocOrg/swift-doc@master
uses: Applebaumian/swift-doc@master
with:
inputs: "ImageClassification"
module-name: iASL
format: "html"
output: "Documentation"
base-url: "https://capstone-projects-2020-spring.github.io/iASL-iOS/"
- name: Update Permissions
run: 'sudo chown --recursive $USER Documentation'
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./Documentation