mirror_to_github action++++++
/ mirror_to_github (push) Successful in 14s Details
/ test (push) Successful in 4s Details

This commit is contained in:
Leon van Kammen 2024-04-30 14:55:48 +02:00
parent 42345b5cb6
commit c313a33437
1 changed files with 2 additions and 1 deletions

View File

@ -7,10 +7,11 @@ jobs:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
with:
fetch-depth: 0
- run: mkdir ~/.ssh
- run: "echo \"${{ secrets.SSHKEY }}\" > ~/.ssh/id_rsa"
- run: ssh-keyscan github.com >> ~/.ssh/known_hosts # see https://gist.github.com/vikpe/34454d69fe03a9617f2b009cc3ba200b
- run: chmod 600 -R ~/.ssh
- run: git remote add github git@github.com:coderofsalvation/xrsh
- run: git pull github main # get historical commits (for some reason checkout fetches last commit only)
- run: git push github main