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

Use holoviz_tasks/install action for docs #1272

Merged
merged 1 commit into from
Aug 17, 2023
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
39 changes: 10 additions & 29 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,47 +31,28 @@ jobs:
env:
DESC: "Documentation build"
steps:
- uses: actions/checkout@v3
- uses: holoviz-dev/holoviz_tasks/[email protected]
with:
fetch-depth: "100"
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
channels: pyviz/label/dev,conda-forge
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- name: Set and echo git ref
name: Documentation
python-version: "3.10"
channel-priority: strict
channels: pyviz/label/dev,conda-forge,nodefaults
envs: "-o doc"
cache: true
conda-update: true
- name: Set output
id: vars
run: |
echo "Deploying from ref ${GITHUB_REF#refs/*/}"
echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: conda setup
run: |
conda install "pyctdev>=0.5"
conda create -n test-environment python=3.8 pyctdev
- name: doit develop_install
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
doit develop_install -o doc
- name: doit env_capture
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
doit env_capture
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: fetch data
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
datashader fetch-data --path=examples --force
- name: generate rst
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
nbsite generate-rst --org holoviz --project-name panel
- name: build docs
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
nbsite build --what=html --output=builtdocs --org holoviz --project-name datashader
- name: Deploy dev
Expand Down