Push to Codeberg
This commit is contained in:
6
.github/workflows/mirror-to-codeberg.yml
vendored
6
.github/workflows/mirror-to-codeberg.yml
vendored
@@ -12,6 +12,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up SSH
|
||||
run: |
|
||||
@@ -19,10 +21,6 @@ jobs:
|
||||
echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
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
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user