From cb5416000fe09112b1253bd8523e704779d536cf Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Wed, 1 Feb 2023 17:20:57 -0600 Subject: [PATCH] ops: create pub same way --- .github/helpers/deploy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/helpers/deploy.sh b/.github/helpers/deploy.sh index f375d24..44bbdd4 100755 --- a/.github/helpers/deploy.sh +++ b/.github/helpers/deploy.sh @@ -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 \