Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc generation in CI #235

Merged
merged 1 commit into from
Jul 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: documentation
on:
push:
branches: devel
pull_request:
branches:
- devel
workflow_dispatch:

jobs:
Expand All @@ -27,10 +30,9 @@ jobs:
- name: Setup
run: |
python -m pip install --upgrade pip
pip install pytest "pybind11[global]"
pip install -r requirements.txt
python -m pip install build
- name: Build
run: pip install .
run: python -m pip install -v .

# build:
# runs-on: ubuntu-20.04
Expand Down Expand Up @@ -86,6 +88,10 @@ jobs:
deploy:
runs-on: ubuntu-20.04
needs: [build]
# todo: deploy if new tag/release
if: |
github.repository == 'artivis/manif' &&
github.event_name == 'push' && github.ref == 'refs/heads/devel'
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
Expand Down