Merge branch 'xtensor-stack:master' into master #56
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: gh-pages | |
on: | |
push: | |
branches: | |
- master | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Basic GitHub action setup | |
uses: actions/checkout@v2 | |
- name: Set mamba environment "test" | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: docs/ghp_environment.yml | |
environment-name: xtensor-doc | |
- name: Run doxygen | |
working-directory: docs | |
run: doxygen | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: docs/html | |
jekyll: false | |
keep_history: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |