Skip to content

Commit

Permalink
playing around with building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Jan 15, 2020
1 parent 50aafb9 commit 34ea236
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 33 deletions.
6 changes: 4 additions & 2 deletions .ci/azure/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e
. $CONDA/etc/profile.d/conda.sh
conda activate ./env

cd docs
# cd docs
# make dirhtml

make dirhtml
echo $SOURCE_BRANCH
echo $(basename $SOURCE_BRANCH)
35 changes: 35 additions & 0 deletions .ci/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
pr: none

jobs:
- job: Default
variables:
- group: exoplanet-variables
pool:
vmImage: Ubuntu-16.04
timeoutInMinutes: 120

# steps:
# - bash: .ci/azure/setup_conda.sh
# displayName: 'Setup conda'

# - script: |
# source .ci/azure/activate_conda.sh
# env/bin/python -m pip install -U -r docs/requirements.txt
# displayName: 'Install dependencies'

# - bash: .ci/azure/run_tutorials.sh
# displayName: 'Generate the tutorials'

- bash: .ci/azure/build_docs.sh
displayName: 'Build the docs'
env:
GITHUB_USER: $(GITHUB_USER)
GITHUB_API_KEY: $(GITHUB_API_KEY)
SOURCE_BRANCH: $(Build.SourceBranch)

# - task: PublishPipelineArtifact@1
# inputs:
# path: $(Build.SourcesDirectory)/docs/notebooks
# artifact: Tutorials
# displayName: 'Upload the results'
# condition: always()
31 changes: 0 additions & 31 deletions .ci/run-tutorials.yml

This file was deleted.

0 comments on commit 34ea236

Please sign in to comment.