ops: create pub same way

This commit is contained in:
Hunter Miller 2023-02-01 17:20:57 -06:00
parent da3c824857
commit cb5416000f

View File

@ -33,9 +33,8 @@ rm -rf $urbit_repo
'
echo "$cmds" >> "$cmdfile"
sshpriv=$(mktemp "${TMPDIR:-/tmp/}ssh.XXXXXXXXX")
sshpub="$sshpriv".pub
sshpub=$(mktemp $sshpriv.pub)
echo "$SSH_PUB_KEY" >> "$sshpub"
chmod 600 $sshpub
echo "$SSH_SEC_KEY" >> "$sshpriv"
gcloud compute \