Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 76a3efe

Browse files
authored
Workin on BLT deploys. (#152)
1 parent 38f0186 commit 76a3efe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ addons:
2525
before_install:
2626
# Decrypt private SSH key id_rsa_blt.enc, save as ~/.ssh/id_rsa_blt.
2727
- 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
28+
- ls -lash ~/.ssh
29+
- git clone [email protected]:blt8.git
2830
- nvm install 0.12
2931
- nvm use 0.12
3032
- composer selfupdate

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)