forked from ivy-llc/ivy
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 966 Bytes
/
docs.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
34
35
36
37
38
name: docs
on: [push]
jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️Ivy
uses: actions/checkout@v2
with:
path: ivy
persist-credentials: false
- name: Checkout 🛎️Ivy Doc Builder
uses: actions/checkout@v2
with:
repository: unifyai/doc-builder
path: ivy_doc_builder
persist-credentials: false
- name: Build Docs
run: |
cd ivy
rm -rf .gitignore
cd docs
bash make_docs.sh root
sudo touch .nojekyll
sudo cp .nojekyll build/
cd ../..
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ivy/docs/build
CLEAN: false
GIT_CONFIG_NAME: ivy-seed
GIT_CONFIG_EMAIL: [email protected]