Skip to content

Commit

Permalink
Include online_testing in gh action copy
Browse files Browse the repository at this point in the history
#98 is not showing up properly. This is due to the subtlety that we want to have md files show up in the readme but also the book (and thus we have to copy files from root to the website dir at build time). 
Thanks @zyhu-hu for catching this. If we expect more folks to contribute, we should document this better (and potentially implement a website preview).
  • Loading branch information
jbusecke authored Jul 26, 2024
1 parent 843e1b3 commit f12e454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
environment_file: 'website/environment.yml'
environment_name: climsim-docs-env
path_to_notebooks: 'website'
build_command: 'cp -r ../README.md ../ARCHITECTURE.md ../figures ../demo_notebooks ../evaluation .; jupyter-book build .'
build_command: 'cp -r ../README.md ../ARCHITECTURE.md ../figures ../demo_notebooks ../online_testing ../evaluation .; jupyter-book build .'
# this is a bit hacky, but the only way to 'inject' a shell command before the build.
output_path: '_build/html'
deploy:
Expand Down

0 comments on commit f12e454

Please sign in to comment.