-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move docs build from the default branch to a orphan branch, and workf…
…low to build on push to master (#32) * move docs build out of default branch, testing docs build in workflow * fix env * GH Pages docs deploy workflow
- Loading branch information
Showing
117 changed files
with
183 additions
and
26,116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Docs build and deploy | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build-and-deploy: | ||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Pandoc | ||
uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- name: Install miniconda and activate environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: mutyper | ||
environment-file: environment.yml | ||
python-version: 3.9 | ||
auto-activate-base: false | ||
auto-update-conda: true | ||
|
||
- name: Build 🔧 | ||
# NOTE: must specify the shell so that conda init updates bashrc see: | ||
# https://github.com/conda-incubator/setup-miniconda#IMPORTANT | ||
shell: bash -l {0} | ||
run: | | ||
make docs | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: docs # The branch the action should deploy to. | ||
folder: docs/_build/html # The folder the action should deploy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.