Skip to content

Commit

Permalink
fix: write earthengine token from pre_build directly (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Jul 24, 2023
2 parents 35e34cc + 1e9b4f2 commit 8fc8552
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ build:
python: "3.10"
jobs:
pre_build:
- sphinx-apidoc -o docs/api pygaul
- mkdir -p $HOME/.config
- mkdir -p $HOME/.config/earthengine
- echo $EARTHENGINE_TOKEN > $HOME/.config/earthengine/credentials
- cat $HOME/.config/earthengine/credentials
- echo $EARTHENGINE_TOKEN

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ def gee_configure() -> None:
ee.Initialize(http_transport=httplib2.Http())


gee_configure()
#gee_configure()

0 comments on commit 8fc8552

Please sign in to comment.