Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ jobs:
micromamba activate map-binning
pip install -e .

# Build the package documentaion
# Build the package documentation
- name: Build Jupyter Book
shell: bash -l {0}
env:
COPERNICUSMARINE_SERVICE_USERNAME: ${{ secrets.COPERNICUSMARINE_SERVICE_USERNAME }}
COPERNICUSMARINE_SERVICE_PASSWORD: ${{ secrets.COPERNICUSMARINE_SERVICE_PASSWORD }}
run: |
micromamba activate map-binning
jupyter-book build doc/
Expand Down
31 changes: 18 additions & 13 deletions doc/content/cmems_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "34f95917",
"metadata": {},
"outputs": [
Expand All @@ -75,16 +75,6 @@
"/home/chsu/.conda/envs/map-binning/lib/python3.11/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
" from .autonotebook import tqdm as notebook_tqdm\n"
]
},
{
"data": {
"text/plain": [
"True"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
Expand All @@ -98,10 +88,25 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "9751f3c2",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"load_dotenv() returned: True\n",
"GITHUB_ACTIONS: None\n",
"Available environment variables:\n",
" COPERNICUSMARINE_SERVICE_PASSWORD: ***\n",
" COPERNICUSMARINE_SERVICE_USERNAME: chsu8\n",
"Username found: True\n",
"Password found: True\n",
"✅ Credentials loaded successfully\n"
]
}
],
"source": [
"\n",
"# Try to load .env file\n",
Expand Down