projects
/
Mograsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9225655
)
Replaced echo with printenv for better security
author
Daniel Kirschten
<daniel.kirschten@gmx.de>
Sun, 13 Sep 2020 17:27:02 +0000
(19:27 +0200)
committer
Daniel Kirschten
<daniel.kirschten@gmx.de>
Sun, 13 Sep 2020 17:27:02 +0000
(19:27 +0200)
.github/workflows/maven.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/maven.yml
b/.github/workflows/maven.yml
index
8fdc5d5
..
2256c31
100644
(file)
--- a/
.github/workflows/maven.yml
+++ b/
.github/workflows/maven.yml
@@
-34,7
+34,7
@@
jobs:
MOGRASIM_NET_HOST_PUBKEY: ${{ secrets.MOGRASIM_NET_HOST_PUBKEY }}
run: |
mkdir -p ~/.ssh
-
echo "${DEPLOY_KEY}"
> ~/.ssh/id_rsa_deploy
+
printenv DEPLOY_KEY
> ~/.ssh/id_rsa_deploy
chmod 600 ~/.ssh/id_rsa_deploy
-
echo "${MOGRASIM_NET_HOST_PUBKEY}"
>> ~/.ssh/known_hosts
+
printenv MOGRASIM_NET_HOST_PUBKEY
>> ~/.ssh/known_hosts
scp -i ~/.ssh/id_rsa_deploy -r releng/net.mograsim.plugin.updatesite/target/repository mgsdeploy@mograsim.net:/mograsim/testdeploy