Skip to content

Commit

Permalink
sovrin repo publish
Browse files Browse the repository at this point in the history
Signed-off-by: pSchlarb <p.schlarb@esatus.com>
  • Loading branch information
pSchlarb committed Jul 12, 2022
1 parent 62fba09 commit 049f95d
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 049f95d

Please sign in to comment.