base64 encode the ssh key
Some checks failed
Deploy website to nest / deploy (push) Failing after 2s
Some checks failed
Deploy website to nest / deploy (push) Failing after 2s
This commit is contained in:
parent
5912ade62a
commit
b0c11dfa5d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Apparently ssh is installed, lol
|
# Apparently ssh is installed, lol
|
||||||
# apt install -y openssh-client && \
|
# apt install -y openssh-client && \
|
||||||
mkdir ~/.ssh && \
|
mkdir ~/.ssh && \
|
||||||
echo $DEPLOY_SSH_KEY > ~/.ssh/id_ed25519 && \
|
echo $DEPLOY_SSH_KEY | base64 -d > ~/.ssh/id_ed25519 && \
|
||||||
cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \
|
cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \
|
||||||
chmod -R go-rwx ~/.ssh && \
|
chmod -R go-rwx ~/.ssh && \
|
||||||
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app
|
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app
|
||||||
|
|
Loading…
Reference in a new issue