Skip to content

Commit

Permalink
Merge upload src tarballs with ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
mtru32 committed Aug 30, 2021
1 parent d8c0ebe commit 85724e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test-deploy.yml
Expand Up @@ -32,10 +32,12 @@ jobs:

# SSH key recipe from https://www.webfactory.de/blog/use-ssh-key-for-private-repositories-in-github-actions
- name: Establish ssh
if: contains(github.ref , 'refs/tags/')
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
ssh-agent -a "$SSH_AUTH_SOCK" > /dev/null
ssh-add - <<< "${{ secrets.ID_GCTUPLOADER }}"
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
travis-ci/upload_source_tarballs.sh ${{ github.repository_owner }}

0 comments on commit 85724e7

Please sign in to comment.