Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Feb 1, 2021
1 parent 2c8bfd5 commit 40132c7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ 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
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: webpage
CLEAN: true

0 comments on commit 40132c7

Please sign in to comment.