Skip to content

Commit 4e962df

Browse files
committed
Workin on BLT deploys. (acquia#152)
1 parent 38f0186 commit 4e962df

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ addons:
2424

2525
before_install:
2626
# Decrypt private SSH key id_rsa_blt.enc, save as ~/.ssh/id_rsa_blt.
27-
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then openssl aes-256-cbc -K $encrypted_665bd7a0b921_key -iv $encrypted_665bd7a0b921_iv -in id_rsa_blt.enc -out ~/.ssh/id_rsa_blt -d; chmod 600 ~/.ssh/id_rsa_blt; fi
27+
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then openssl aes-256-cbc -K $encrypted_c0b166e924da_key -iv $encrypted_c0b166e924da_iv -in id_rsa_blt.enc -out ~/.ssh/id_rsa -d; chmod 600 ~/.ssh/id_rsa; ls -lash ~/.ssh; fi
28+
- git clone [email protected]:blt8.git
2829
- nvm install 0.12
2930
- nvm use 0.12
3031
- composer selfupdate

id_rsa_blt.enc

1.53 KB
Binary file not shown.

template/build/core/phing/tasks/deploy.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179

180180
<target name="deploy:artifact:push-remote" description="Pushes to a git remote.">
181181
<exec command="echo ${deploy.remote} | openssl md5 | cut -d' ' -f 2" outputProperty="remoteName"/>
182-
<exec command="git push ${remoteName} ${deploy.branch}" dir="${deploy.dir}" logoutput="true" outputProperty="deploy.push.output"/>
182+
<exec command="git push ${remoteName} ${deploy.branch}" dir="${deploy.dir}" logoutput="true" outputProperty="deploy.push.output" checkreturn="true"/>
183183
<exec command="export DEPLOY_UPTODATE=$(echo '${deploy.push.output}' | grep --quiet 'Everything up-to-date')"/>
184184
</target>
185185

0 commit comments

Comments
 (0)