Skip to content
Snippets Groups Projects
Unverified Commit caba2d45 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Adapt binder-link to use OGS instance.

parent aba27404
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ def check_and_modify_frontmatter(): ...@@ -101,7 +101,7 @@ def check_and_modify_frontmatter():
if "CI_MERGE_REQUEST_SOURCE_PROJECT_URL" in os.environ: if "CI_MERGE_REQUEST_SOURCE_PROJECT_URL" in os.environ:
repo = os.environ["CI_MERGE_REQUEST_SOURCE_PROJECT_URL"] repo = os.environ["CI_MERGE_REQUEST_SOURCE_PROJECT_URL"]
branch = os.environ["CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"] branch = os.environ["CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"]
binder_link = f"https://mybinder.org/v2/gh/bilke/binder-ogs-requirements/master?urlpath=git-pull%3Frepo={repo}%26urlpath=lab/tree/ogs/{notebook_file_path_relative}%26branch={branch}" binder_link = f"https://binder.opengeosys.org/v2/gh/bilke/binder-ogs-requirements/master?urlpath=git-pull%3Frepo={repo}%26urlpath=lab/tree/ogs/{notebook_file_path_relative}%26branch={branch}"
text = """ text = """
<div class="note"> <div class="note">
<p style="margin-top: 0; margin-bottom: 0;"> <p style="margin-top: 0; margin-bottom: 0;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment