Add ftp pass
This commit is contained in:
parent
eff9c77a53
commit
ac20007fb8
1 changed files with 8 additions and 7 deletions
15
.travis.yml
15
.travis.yml
|
@ -5,12 +5,13 @@ jdk:
|
|||
- oraclejdk8
|
||||
env:
|
||||
global:
|
||||
- "FTP_USER=warpdrive"
|
||||
- "FTP_PASSWORD=password"
|
||||
- FTP_USER=warpdrive
|
||||
- FTP_PASSWORD=password
|
||||
- secure: rnP6qHsQDukvZt1BeWLcK4DetcqzfmP2cRUYlNYk6lpGpgiIRP0RE4MbHJGgR0HNG93pIRcxjH7hHXKY1tbLZT7CBQBZmpAB7pTBPP1udmv7hV43vuoq5G8jYNO9lPqbFnREnM9/1b+REWfkedREenrPpbMdnIGukrYPxKJeh9UPRNrExIuBdVYCiGgleST3YrBtrWadRqRLB7I7YjhhcnxAtMG8SSea1r0tFBdD+XMeST7XBX3WPrMEfUDICpFJyReCAIKdDwJj2tgjHrWH7+h2jp6KljmRuS69Ody6ClhJ6Lsj3d+3yVAV2aqQDCxkBYqJA5bSq0rdOg8jn0qY9OD3rJtxzaZchfwXsEovs1KK2vJDEzti0zJOVm2W9ZB/KGawvD+bOnAsioOq3L4+HFJ9HfaU6gds0MvozdjydyWBWk+P1RiCdYLBOzKo4Z/LiD4KHvw9colQuJ+41mijWt7p3DQ2ijB/NrfbuBhGkRp3d1vcxLTKhTh3Q2eyqnhYgVlLyGmCVFqIsW18mXlnh5b/EptIpV9oLv3bz1MFjZtbl4p9mOaxK+nkvDV4yXgigmFAH5se/gmpKfj7wXacIdvyiQZmsBOK1sUpQAlf/kOueuJd0WXnVInZqnrjj2/JHCbb43zVb9iHd9NgHL1HkhPwdd+FDWk1LLPJMf+1PNk=
|
||||
before_install:
|
||||
- chmod +x gradlew
|
||||
before_deploy:
|
||||
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
||||
- echo "deploying ${RELEASE_FILE} to GitHub releases"
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
|
@ -20,9 +21,9 @@ deploy:
|
|||
on:
|
||||
repo: LemADEC/WarpDrive
|
||||
branch: MC1.7
|
||||
tags: true
|
||||
tags: true
|
||||
jdk: oraclejdk7
|
||||
after_success:
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- echo "curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
- "curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
- export RELEASE_FILE=$(ls build/libs/*.jar)
|
||||
- echo "curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar"
|
||||
- curl --ftp-create-dirs -T ${RELEASE_FILE} --user $FTP_USER:$FTP_PASSWORD ftp://khazaddum.caltech.edu/warpdrive/files/${RELEASE_FILE}.${TRAVIS_BUILD_NUMBER}-${TRAVIS_BRANCH}.jar
|
||||
|
|
Loading…
Reference in a new issue