Skip to content

Commit

Permalink
Backup: Attempt to fix SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchivalone committed Nov 22, 2024
1 parent 56b5f91 commit 0752d72
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/github-action-mirror-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,18 @@ jobs:
env
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
chmod 700 ~/.ssh/id_ed25519
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub
ssh-copy-id -i ~/.ssh/id_ed25519 [email protected]
ssh -T [email protected]
- name: Sync up to Codeberg
id: sync
uses: yesolutions/mirror-action@master
with:
REMOTE: '[email protected]:thearchivalone/BRS-PSP-Research-Initiative.git'
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }}
GIT_SSH_NO_VERIFY_HOST: "true"
#GIT_SSH_KNOWN_HOSTS: ${{ secrets.CODEBERG_KNOWN_HOSTS }}

beanstalk:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -134,7 +138,6 @@ jobs:
- name: Setup secure connection
id: secure
run: |
git pull origin main
env
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519
Expand Down

0 comments on commit 0752d72

Please sign in to comment.