new actions #19
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: docs | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: build and deploy docs | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: powershell | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: conda-incubator/[email protected] | |
with: | |
miniconda-version: "latest" | |
activate-environment: igl | |
channels: conda-forge | |
python-version: 3.8 | |
- name: build | |
run: | | |
conda install git cmake">=3.14" boost eigen=3.3 compas --yes | |
pip install -r requirements-dev.txt | |
invoke docs | |
- uses: compas-dev/compas-actions.docs@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
use_conda: true |