mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Update deploy scripts
This commit is contained in:
parent
91cf9917c7
commit
56cb14e30c
|
@ -65,7 +65,7 @@ after_success: >
|
|||
export NEW_VERSION
|
||||
export FTP_HOST
|
||||
export FTP_PORT
|
||||
export FTP_LOGIN
|
||||
export FTP_USER
|
||||
export FTP_PATH
|
||||
export SSH_KEY
|
||||
mv -f $HOME/built_artifacts_backup $HOME/mvn_repo/org/teavm
|
||||
|
|
|
@ -2,13 +2,12 @@
|
|||
|
||||
echo "${SSH_KEY}" | base64 --decode >/tmp/sftp_rsa
|
||||
chmod 0700 /tmp/sftp_rsa
|
||||
SCP="scp -o StrictHostKeyChecking=no -i /tmp/sftp_rsa -B -r -P $FTP_PORT"
|
||||
SCP_TARGET="$FTP_USER@$FTP_HOST:~/$FTP_PATH"
|
||||
|
||||
#
|
||||
# Upload CLI
|
||||
#
|
||||
$SCP tools/cli/target/teavm-cli-$NEW_VERSION.jar $SCP_TARGET/cli/dev/
|
||||
scp -o StrictHostKeyChecking=no -i /tmp/sftp_rsa -B -r -P $FTP_PORT tools/cli/target/teavm-cli-$NEW_VERSION.jar $SCP_TARGET/cli/dev/
|
||||
|
||||
#
|
||||
# Update IDEA repository descriptor
|
||||
|
@ -23,7 +22,7 @@ cat <<EOF >.idea-repository.xml
|
|||
</plugins>
|
||||
EOF
|
||||
|
||||
$SCP .idea-repository.xml $SCP_TARGET/idea/dev/teavmRepository.xml
|
||||
scp -o StrictHostKeyChecking=no -i /tmp/sftp_rsa -B -r -P $FTP_PORT .idea-repository.xml $SCP_TARGET/idea/dev/teavmRepository.xml
|
||||
|
||||
#
|
||||
# Upload Eclipse plugin
|
||||
|
|
Loading…
Reference in New Issue
Block a user