Skip to content

Commit

Permalink
be more precise about which sqlite dbs to check out on RTD (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
1kastner authored Jul 20, 2022
1 parent bc5e06e commit 905b5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ def _install_git_lfs_on_linux_on_the_fly() -> str:
if os.environ.get("IS_RTD", False):
os.system("echo 'We are currently on the Read-the-Docs server (or somebody just set IS_RTD to true)'")
git_lfs_cmd = _install_git_lfs_on_linux_on_the_fly()
os.system("echo 'Fetching the sqlite database'")
os.system("echo 'Fetching sqlite databases'")
os.system(
f"yes | {git_lfs_cmd} fetch -I '*.sqlite'"
f"yes | {git_lfs_cmd} fetch -p -I '**/notebooks/data/prepared_dbs/*.sqlite'"
) # download sqlite databases from remote, say yes to trusting certs
os.system("echo 'Start checking out the file'")
os.system(f'{git_lfs_cmd} checkout') # Replace SQLite database LFS references with the actual files
Expand Down

0 comments on commit 905b5b6

Please sign in to comment.