Skip to content

Commit

Permalink
ci: Use SSH Key
Browse files Browse the repository at this point in the history
  • Loading branch information
uadnan committed Oct 8, 2024
1 parent 6f5a2dc commit 8d612f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ jobs:
run: |
pip install --upgrade python-semantic-release
- name: Setup SSH Key
uses: webfactory/[email protected]
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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8d612f2

Please sign in to comment.