diff --git a/.github/workflows/singleuser-release.yaml b/.github/workflows/singleuser-release.yaml index 47bd7cf..60df0e4 100644 --- a/.github/workflows/singleuser-release.yaml +++ b/.github/workflows/singleuser-release.yaml @@ -1,4 +1,4 @@ -name: singleuser-relase +name: singleuser-release on: workflow_dispatch: inputs: @@ -26,6 +26,9 @@ jobs: JUPYTERHUB_VERSION: ${{github.event.inputs.jupyterhub_version}} steps: - uses: actions/checkout@v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + submodules: true - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/singleuser/config/before_start_hook.sh b/singleuser/config/before_start_hook.sh index 53a9a73..b03bc5e 100755 --- a/singleuser/config/before_start_hook.sh +++ b/singleuser/config/before_start_hook.sh @@ -12,10 +12,10 @@ if [[ ! -z "${DJLABHUB_REPO}" ]]; then REPO_NAME=$(basename $DJLABHUB_REPO | sed 's/.git//') echo "INFO::Cloning repo $DJLABHUB_REPO" - git clone $DJLABHUB_REPO $HOME/$REPO_NAME + git clone $DJLABHUB_REPO $HOME/$REPO_NAME || echo "WARNING::Failed to clone ${DJLABHUB_REPO}. Continuing..." if [[ ! -z "${DJLABHUB_REPO_BRANCH}" ]]; then echo "INFO::Switch to branch $DJLABHUB_REPO_BRANCH" - git -C $HOME/$REPO_NAME switch $DJLABHUB_REPO_BRANCH + git -C $HOME/$REPO_NAME switch $DJLABHUB_REPO_BRANCH || echo "WARNING::Failed to checkout branch ${DJLABHUB_REPO_BRANCH}. Continuing..." fi if [[ $DJLABHUB_REPO_INSTALL == "TRUE" ]]; then diff --git a/singleuser/ipython-datajoint-creds-updater b/singleuser/ipython-datajoint-creds-updater index f47ef85..4bc71f5 160000 --- a/singleuser/ipython-datajoint-creds-updater +++ b/singleuser/ipython-datajoint-creds-updater @@ -1 +1 @@ -Subproject commit f47ef857a52a376eb6f891914e040bec58e89f22 +Subproject commit 4bc71f517a0d2dfd010c9e7eecb327dcfdde5f0b