chore(ci): Add SSH key setup for Codeberg repository mirroring (#1595)
This commit is contained in:
parent
26d3be95e3
commit
6f020399d8
1 changed files with 5 additions and 0 deletions
5
.github/workflows/codeberg_mirror.yml
vendored
5
.github/workflows/codeberg_mirror.yml
vendored
|
|
@ -16,6 +16,11 @@ jobs:
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Setup SSH key
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.CODEBERG_SSH }}" >> ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
||||||
with:
|
with:
|
||||||
target_repo_url: "git@codeberg.org:cuong-tran/komikku.git"
|
target_repo_url: "git@codeberg.org:cuong-tran/komikku.git"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue