Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jan 31, 2021
1 parent 2c8bfd5 commit 0ae2cf6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@ jobs:
source activate IOOS
conda install doctr
- name: Build and deploy documentation
- name: Build documentation
shell: bash -l {0}
run: |
set -e
source activate IOOS
pushd webpage && python make_index.py && popd
find notebooks/ -maxdepth 1 -name \*.ipynb -print0 | xargs -0 -n1 jupyter nbconvert --template-file jupyter-jekyll.tpl --config nbconvert_config.py
# either need to find a GHA to do this or wait until doctr supports GHA
# python -m doctr deploy --key-path github_deploy_key_ioos_notebooks_demos.enc --built-docs webpage/ .
- name: Deploy
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: webpage
CLEAN: true

0 comments on commit 0ae2cf6

Please sign in to comment.