generated from cvxgrp/simulator
-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (49 loc) · 1.29 KB
/
book.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "book"
on:
push:
branches:
- main
jobs:
sphinx:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/sphinx@main
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/test@main
jupyter:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: cvxgrp/.github/actions/jupyter@main
with:
kernel: "markowitz"
book:
runs-on: "ubuntu-latest"
needs: [test, sphinx, jupyter]
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Download Book
uses: actions/download-artifact@v3
with:
name: book
path: .book
- uses: actions/download-artifact@v3
with:
name: sphinx
path: .book/artifacts/sphinx
- uses: actions/download-artifact@v3
with:
name: tests
path: .book/artifacts/tests
- name: GitHub Pages action
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: .book # The folder the action should deploy.