Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhang committed Sep 23, 2024
1 parent 3d101b3 commit 15b0bbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Fetch JSON and Get Preferred Version
run: |
#JSON=$(cat ${GITHUB_WORKSPACE}/docs/_static/versions.json)
JSON=$(curl -s "https://raw.githubusercontent.com/kaizhang/SnapATAC2/main/docs/_static/versions.json")
JSON=$(curl -s "https://raw.githubusercontent.com/regulatory-genomics/precellar/main/docs/_static/versions.json")
VERSION=$(echo "$JSON" | jq -r '.[] | select(.preferred == true) | .version')
echo "PREFERRED_VERSION=$VERSION" >> $GITHUB_ENV
echo "Preferred version is $VERSION"
Expand Down
6 changes: 3 additions & 3 deletions docs/_static/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
{
"name": "dev",
"version": "dev",
"url": "https://kzhang.org/SnapATAC2/version/dev/"
"url": "https://lab.kaizhang.org/precellar/version/dev/"
},
{
"name": "0.1 (stable)",
"version": "0.1",
"version": "dev",
"preferred": true,
"url": "https://kzhang.org/SnapATAC2/version/dev/"
"url": "https://lab.kaizhang.org/precellar/version/dev/"
}
]

0 comments on commit 15b0bbc

Please sign in to comment.