From 8d612f250089be90e8ff9a8f98a8e84fa6f1e5fb Mon Sep 17 00:00:00 2001 From: Adnan Umer Date: Tue, 8 Oct 2024 21:38:55 +0500 Subject: [PATCH] ci: Use SSH Key --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3bf8f6..c2e4b33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,9 +39,14 @@ jobs: run: | pip install --upgrade python-semantic-release + - name: Setup SSH Key + uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.STRONGMACHINE_PRIVATE_KEY }} + - name: Release run: | - git clone https://${{ secrets.STRONGIO_MACHINE_PAT }}:@github.com/strongio/torchcast + git clone git@github.com:strongio/torchcast cd torchcast semantic-release version --push --changelog --vcs-release --commit env: @@ -74,7 +79,7 @@ jobs: - name: Install dependencies run: | pip install awscli - pip install ".[docs]" + pip install -e ".[docs]" - name: Install pandoc uses: pandoc/actions/setup@main