Skip to content

Commit

Permalink
sovrin repo publish
Browse files Browse the repository at this point in the history
Signed-off-by: pSchlarb <[email protected]>
  • Loading branch information
pSchlarb committed Jul 12, 2022
1 parent 62fba09 commit b6bc256
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,9 @@ 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
rm ~/.ssh/sovrin_repo

0 comments on commit b6bc256

Please sign in to comment.