From 220f722436b98dabd2af92bef6b7d2c3c30ff36e Mon Sep 17 00:00:00 2001 From: catchSheep <81134674+catchSheep@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:40:33 +0800 Subject: [PATCH] added ssh set url --- .github/workflows/notebook_colab_gen.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notebook_colab_gen.yml b/.github/workflows/notebook_colab_gen.yml index 5b8dfdb..77a2bd4 100644 --- a/.github/workflows/notebook_colab_gen.yml +++ b/.github/workflows/notebook_colab_gen.yml @@ -10,7 +10,8 @@ jobs: uses: actions/checkout@v4 - name: Run the colab build script run: python build_scripts/colab_nb_builder.py --directory notebooks - - run: echo "Job status is ${{ job.status }}" + - name: switch from HTTPS to SSH + run: git remote set-url origin ${{ secrets.ssh }} - name: check for changes run: git status - name: stage changed files @@ -21,3 +22,4 @@ jobs: run: git fetch - name: push code run: git push + - run: echo "Job status is ${{ job.status }}"