Skip to content

Commit

Permalink
fix path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Oct 25, 2024
1 parent 61b1a0f commit c179a45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_changed_notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ jobs:
run: |
tree ./books/_build/**/**/html
mkdir -p ./books/_build/**/**/html/$DIRNAME
if diff -r ./books/_build/**/**/html/_static ./books/_build/**/**/html/$DIRNAME > /dev/null; then
if diff -r "./books/_build/**/**/html/_static" "./books/_build/**/**/html/$DIRNAME" > /dev/null; then
echo "The directories are the same. Skipping the next step."
else
cp -R ./books/_build/**/**/html/_static ./books/_build/**/**/html/$DIRNAME
fi
if [ -d ./books/_build/**/**/html/_images && ! diff -r ./books/_build/**/**/html/_images ./books/_build/**/**/html/$DIRNAME]; then
if [ -d ./books/_build/**/**/html/_images && ! diff -r "./books/_build/**/**/html/_images" "./books/_build/**/**/html/$DIRNAME"]; then
cp -R ./books/_build/**/**/html/_images ./books/_build/**/**/html/$DIRNAME
fi
if diff ./books/_build/**/**/html/$NOTEBOOK.html ./books/_build/**/**/html/$DIRNAME > /dev/null; then
if diff "./books/_build/**/**/html/$NOTEBOOK.html" "./books/_build/**/**/html/$DIRNAME" > /dev/null; then
echo "The files are the same. Skipping the next step."
else
cp ./books/_build/**/**/html/$NOTEBOOK.html ./books/_build/**/**/html/$DIRNAME
Expand Down
2 changes: 1 addition & 1 deletion books/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ For more information about how to develop these notebooks or explore the tools i
This example repository is funded by the Wellcome Trust with a Wellcome Discretionary Award as part of the Chan Zuckerberg Initiative (CZI), The Kavli Foundation and Wellcome’s Essential Open Source Software for Science (Cycle 6) Program [313306/Z/24/Z]

<img src="images/Wellcome_Trust_logo.png" width="150">
<img src="images/czi_logo.png" width="250">
<img src="images/czi_logo.png" width="250">

0 comments on commit c179a45

Please sign in to comment.