X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=.github%2Fworkflows%2Fmaven.yml;h=41df9749d616e99900f9c73b4efaef1cf10afa03;hb=675de1ae079bfd56ea5751f8ae606df4bed65e05;hp=b5dd9c60eadbaf311b4632add28f6d4aa924a684;hpb=d736da8e490713245e06326f3121f52d9318c8cb;p=Mograsim.git diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b5dd9c60..41df9749 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -34,7 +34,8 @@ jobs: MOGRASIM_NET_HOST_PUBKEY: ${{ secrets.MOGRASIM_NET_HOST_PUBKEY }} run: | mkdir -p ~/.ssh - echo "${DEPLOY_KEY}" > ~/.ssh/id_rsa_deploy + touch ~/.ssh/id_rsa_deploy chmod 600 ~/.ssh/id_rsa_deploy - echo "${MOGRASIM_NET_HOST_PUBKEY}" >> ~/.ssh/known_hosts - scp -i ~/.ssh/id_rsa_deploy -r releng/net.mograsim.plugin.updatesite/target/repository mograsim@mograsim.net:/mograsim/testdeploy + printenv DEPLOY_KEY > ~/.ssh/id_rsa_deploy + 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