Skip to content

Commit

Permalink
Remove mention of switcher file (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov authored Nov 29, 2024
1 parent 452fe10 commit 33f17b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs_build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
if [[ "${version}" != "dev" ]]; then
# Updated switcher.json file
SWITCHER_CONTENT=$(curl https://neuroblueprint.neuroinformatics.dev/latest/_static/switcher.json)
BASE_URL="$(jq -r '.[1].url|split("/")[0:3]|join("/")' $SWITCHER_FILE)"
BASE_URL="$(jq -r '.[1].url|split("/")[0:3]|join("/")' <<< $SWITCHER_CONTENT)"
NEW_URL="${BASE_URL}/latest/"
# Extract the current latest version entry
FIRST_ENTRY=$(jq '.[0]' <<< "${SWITCHER_CONTENT}")
Expand Down

0 comments on commit 33f17b8

Please sign in to comment.