Custom color mapping circos nodes and edges (#689) #40
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
name: Build documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
name: Build conda environment | |
# https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout repository | |
# See: https://github.com/marketplace/actions/setup-miniconda | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
miniforge-variant: Mambaforge | |
channels: conda-forge | |
python-version: 3.9 | |
activate-environment: nxviz | |
environment-file: environment.yml | |
use-mamba: true | |
- name: Build environment | |
run: | | |
conda activate nxviz | |
python -m ipykernel install --user --name nxviz | |
python -m pip install . | |
make docs | |
- name: Deploy website | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
# https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-set-personal-access-token-personal_token | |
personal_token: ${{ secrets.GHPAGES_TOKEN }} | |
publish_dir: ./site | |
publish_branch: gh-pages | |
# destination_dir: manuscript | |
allow_empty_commit: false | |
keep_files: false | |
force_orphan: true | |
enable_jekyll: false | |
disable_nojekyll: false |