Skip to content

Commit

Permalink
Merge pull request #110 from ocefpaf/docs
Browse files Browse the repository at this point in the history
let's see if we can revive the docs
  • Loading branch information
ocefpaf authored Oct 17, 2022
2 parents 8c64e39 + 2dcc523 commit 2864a6a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build and Deploy docs

on: ["push", "pull_request"]
on:
pull_request:

push:
tags:
- "v*"

jobs:
run:
Expand All @@ -9,14 +14,14 @@ jobs:
- uses: actions/checkout@v3

- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/provision-with-micromamba@v13
with:
environment-file: false

- name: Create environment
shell: bash -l {0}
run: |
micromamba create --name TEST python=3 python-build numpy --file requirements-dev.txt --channel conda-forge
micromamba create --name TEST python=3 numpy --file requirements-dev.txt --channel conda-forge
micromamba activate TEST
pip install -e . --no-deps --force-reinstall
conda info --all
Expand All @@ -32,8 +37,8 @@ jobs:
popd
- name: GitHub Pages action
if: ${{ github.event_name == 'release' }}
uses: peaceiris/actions-gh-pages@v3.6.1
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html

0 comments on commit 2864a6a

Please sign in to comment.