Update .gitlab-ci.yml file

This commit is contained in:
Administrator 2021-05-29 23:34:09 +00:00
parent 801752c9bb
commit 08ac037f2e

View File

@ -27,7 +27,7 @@ deploy:
stage: deploy
script:
- mvn $MAVEN_CLI_OPTS deploy
- ssh lumine@proxy.mythiccraft.io -p 2222 "mkdir -p /tmp/builds/$CI_JOB_ID && exit"
- scp -rp -o StrictHostKeyChecking=no -o Port=2222 ./target/ lumine@proxy.mythiccraft.io:/tmp/builds/$CI_JOB_ID/
- ssh builder@proxy.mythiccraft.io -p 2222 "mkdir -p /tmp/builds/$CI_JOB_ID && exit"
- scp -rp -o StrictHostKeyChecking=no -o Port=2222 ./target/ builder@proxy.mythiccraft.io:/tmp/builds/$CI_JOB_ID/
only:
- master