generated from cvxgrp/simulator
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1.01 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
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
book:
runs-on: "ubuntu-latest"
needs: [test, sphinx, jupyter]
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: .book
- 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.