mirror test 4
This commit is contained in:
5
.github/workflows/mirror.yml
vendored
5
.github/workflows/mirror.yml
vendored
@@ -19,6 +19,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Add SourceHut to known hosts
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
ssh-keyscan git.sr.ht >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Mirror to SourceHut
|
- name: Mirror to SourceHut
|
||||||
run: |
|
run: |
|
||||||
git remote set-url --add --push origin git@git.sr.ht:~canasta/cnix
|
git remote set-url --add --push origin git@git.sr.ht:~canasta/cnix
|
||||||
|
|||||||
Reference in New Issue
Block a user