CI : multiline
This commit is contained in:
parent
619b86414c
commit
9ca6735dc1
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ build and deploy:
|
||||||
- apt-get update -qq && apt-get install -y sshpass
|
- apt-get update -qq && apt-get install -y sshpass
|
||||||
script:
|
script:
|
||||||
- echo "test" > test.txt
|
- echo "test" > test.txt
|
||||||
- sshpass -p "$PASSWORD" sftp -o StrictHostKeyChecking=no $USERNAME@$HOST <<EOF
|
- |
|
||||||
|
sshpass -p "$PASSWORD" sftp -o StrictHostKeyChecking=no $USERNAME@$HOST <<EOF
|
||||||
cd $PROD_PATH
|
cd $PROD_PATH
|
||||||
put test.txt
|
put test.txt
|
||||||
bye
|
bye
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue