Skip to content

Commit

Permalink
ci(travis): fixed decrypt credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
DIOHz0r committed Jan 26, 2018
1 parent 37517f0 commit 8800cdc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .github/push_ghpages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
if [ "$TRAVIS_BRANCH" = "master" ] || [ "$TRAVIS_BRANCH" = "develop" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
#wget http://get.sensiolabs.org/sami.phar -O "$HOME/bin/sami.phar"
# setup_git only for the main repo and not forks
openssl aes-256-cbc -k $encrypted_3f03f06b7880_key -iv $encrypted_3f03f06b7880_iv -in github_deploy_key.enc -out /tmp/github_deploy_key -d
git config --global user.email "[email protected]"
git config --global user.name "Deployment Bot"
git remote add origin-pages [email protected]:"$TRAVIS_REPO_SLUG".git > /dev/null 2>&1
Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ php:
allow_failures:
- php: nightly

before_install:
- openssl aes-256-cbc -K $encrypted_2906252ca964_key -iv $encrypted_2906252ca964_iv -in deploy_key.enc -out deploy_key -d

before_install:
- sudo apt-get -qq update
- sudo apt-get install -y mosquitto
Expand Down
Binary file removed deploy_key.enc
Binary file not shown.
Binary file added github_deploy_key.enc
Binary file not shown.

0 comments on commit 8800cdc

Please sign in to comment.