Skip to content

Commit

Permalink
fix for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Dec 15, 2023
1 parent 881114f commit d38b2c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/jupyak/tasks/_lite.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@
" if W.RTD_VERSION:\n",
" pr_or_branch = W.RTD_VERSION\n",
" url_base = f\"https://jupyak--{pr_or_branch}.org.readthedocs.build/{W.RTD_LOCALE}/{pr_or_branch}\"\n",
" elif W.GH_REF and W.GH_REF.endswith(\"main\"):\n",
" pr_or_branch = W.RTD_VERSION.split(\"/\")[-1]\n",
" elif W.GH_REF and W.GH_REF.endswith(W.MAIN):\n",
" pr_or_branch = W.MAIN\n",
" url_base = \"https://deathbeds.github.io/jupyak\"\n",
"\n",
" archive_name = f\"jupyak-{pr_or_branch}-jupyterlite.tgz\"\n",
Expand Down
3 changes: 2 additions & 1 deletion src/jupyak/tasks/_well_known.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"outputs": [],
"source": [
"DOT_GIT = \".git\"\n",
"GITCONFIG = f\"{DOT_GIT}/config\""
"GITCONFIG = f\"{DOT_GIT}/config\"\n",
"MAIN = \"main\""
]
},
{
Expand Down

0 comments on commit d38b2c8

Please sign in to comment.