test ssh
This commit is contained in:
4
.github/workflows/mirror-to-codeberg.yml
vendored
4
.github/workflows/mirror-to-codeberg.yml
vendored
@@ -19,6 +19,10 @@ jobs:
|
|||||||
echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh-keyscan codeberg.org >> ~/.ssh/known_hosts
|
ssh-keyscan codeberg.org >> ~/.ssh/known_hosts
|
||||||
|
ssh -i ~/.ssh/id_ed25519 git@codeberg.org || true
|
||||||
|
|
||||||
|
- name: Show remotes
|
||||||
|
run: git remote -v
|
||||||
|
|
||||||
- name: Push to Codeberg
|
- name: Push to Codeberg
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user