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 9, 2024
1 parent 6f5a2dc commit 469d531
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,17 @@ 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
semantic-release version --no-push --changelog --vcs-release --commit
git push origin main
env:
GH_TOKEN: ${{ secrets.STRONGIO_MACHINE_PAT }}

Expand Down

0 comments on commit 469d531

Please sign in to comment.