use base64 for ssh push key
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been skipped
Example / Example (push) Failing after 55s

This commit is contained in:
Zuckerberg 2023-10-15 17:21:47 -06:00
parent 0ddf7364fc
commit 62fdf12af3

View File

@ -48,8 +48,7 @@ jobs:
- name: Setup SSH Key - name: Setup SSH Key
run: | run: |
echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" > ./.id_ed25519 echo "${{ secrets.BINARY_CACHE_PUSH_SSH_KEY }}" | base64 -d > ./.id_ed25519
echo >> ./.id_ed25519
chmod 600 ./.id_ed25519 chmod 600 ./.id_ed25519
eval $(ssh-agent -a $SSH_AUTH_SOCK) eval $(ssh-agent -a $SSH_AUTH_SOCK)
md5sum ./.id_ed25519 md5sum ./.id_ed25519