Skip to content

Commit

Permalink
Merge pull request #418 from pSchlarb/GHARefactoring
Browse files Browse the repository at this point in the history
sovrin repo publish
  • Loading branch information
WadeBarnes committed Jul 12, 2022
2 parents fdafaeb + 049f95d commit a59d8a1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ jobs:
path: /tmp/tokendebs/
- name: Publish Packages
run: |
./sovrin-packaging/upload_debs.py /tmp/tokendebs core ${{ inputs.REPO_COMPONENT }} --host repo.sovrin.org --ssh-key ${{ secrets.SOVRIN_REPO_KEY }}
echo "${{ secrets.SOVRIN_REPO_KEY }}" > ~/.ssh/sovrin_repo
host='repo.sovrin.org'
hosts="$(dig +short "$host" | grep -v '\.$' | sed -z 's|\n|,|g')$host"
ssh-keyscan -H "$hosts" > ~/.ssh/known_hosts
./sovrin-packaging/upload_debs.py /tmp/tokendebs core ${{ inputs.REPO_COMPONENT }} --host repo.sovrin.org --ssh-key ~/-ssh/sovrin_repo
- name: Cleanup
if: always()
run: |
rm ~/.ssh/sovrin_repo ~/.ssh/known_hosts

0 comments on commit a59d8a1

Please sign in to comment.