Skip to content

Commit

Permalink
Try to fix ssh keys
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Dec 18, 2019
1 parent c29b95c commit 2306188
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
mkdir ~/.ssh
chmod 700 ~/.ssh
cat <<EOF >> ~/.ssh/known_hosts
|1|/E0gFRKMKG83OQVcwqFPIy3mnE4=|tLYRVZQ/3nCkBTZ9NtBVxx3si+Y= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
|1|dEeue80RCldo/x5XyhbGIkS72d8=|09t8muprLf6YoXsc3r3kxicBykI= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
|1|bCgZuIxEAC1pqI8UsLjNCRI3dv0=|YO034Kx0CTEb4iutq7NMazmOQdI= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMwSi1+S/64Yoq9iKplvLqGYx21g8pFqkgDXSw1vrsg
|1|ZPlc6/X/lRB8vkQ1v9FqzAuE6l4=|/vg1+cJvM/nfSNZEyCoX+y35Cp4= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
EOF
echo -e $PRIVATEKEY > ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
Expand All @@ -72,7 +72,7 @@ jobs:
mkdir ${branch}
shopt -s extglob
mv !(${branch}) ${branch}
rsync -rv -e "ssh -p9922" . jrrsync@builds.jabref.org:/var/www/builds.jabref.org/www/
rsync -rvz -e "ssh -p9922" . jrrsync@builds.jabref.org:/var/www/builds.jabref.org/www/
shell: bash
env:
PRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
Expand Down Expand Up @@ -149,8 +149,8 @@ jobs:
mkdir ~/.ssh
chmod 700 ~/.ssh
cat <<EOF >> ~/.ssh/known_hosts
|1|/E0gFRKMKG83OQVcwqFPIy3mnE4=|tLYRVZQ/3nCkBTZ9NtBVxx3si+Y= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
|1|dEeue80RCldo/x5XyhbGIkS72d8=|09t8muprLf6YoXsc3r3kxicBykI= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
|1|bCgZuIxEAC1pqI8UsLjNCRI3dv0=|YO034Kx0CTEb4iutq7NMazmOQdI= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMwSi1+S/64Yoq9iKplvLqGYx21g8pFqkgDXSw1vrsg
|1|ZPlc6/X/lRB8vkQ1v9FqzAuE6l4=|/vg1+cJvM/nfSNZEyCoX+y35Cp4= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNjYLP9C+PhQrpKfYsdgr8dDB/50S3BnaXAYQOVC5o3H0SqKisWw8iTkij/u8H20Rmsf/ABduOLPOBubfPFlE34=
EOF
echo -e $PRIVATEKEY > ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa
Expand All @@ -159,7 +159,7 @@ jobs:
mkdir ${branch}
shopt -s extglob
mv !(${branch}) ${branch}
rsync -rv -e "ssh -p9922" . jrrsync@builds.jabref.org:/var/www/builds.jabref.org/www/
rsync -rvz -e "ssh -p9922" . jrrsync@builds.jabref.org:/var/www/builds.jabref.org/www/
shell: bash
env:
PRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
Expand Down

0 comments on commit 2306188

Please sign in to comment.