Skip to content

Initial commit

Initial commit #1

Workflow file for this run

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: "cvxsimulator"
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.