This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Travis CI continuous deployment
- Loading branch information
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ build/ | |
.rvmrc | ||
.ruby-gemset | ||
.cache | ||
|
||
# Travis CI | ||
deploy_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
sudo: false | ||
language: ruby | ||
rvm: | ||
- 2.2 | ||
script: | ||
- bundle exec middleman build | ||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_1b489f438a17_key -iv $encrypted_1b489f438a17_iv | ||
-in .travis/deploy_key.enc -out .travis/deploy_key -d | ||
after_success: | ||
- eval "$(ssh-agent -s)" | ||
- chmod 600 .travis/deploy_key | ||
- ssh-add .travis/deploy_key | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis CI" | ||
- ".travis/deploy.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
REPO="[email protected]:emberjs/emberjs.github.com.git" | ||
|
||
COMMIT=`git log -1 --oneline` | ||
git clone $REPO | ||
rsync -a build/* emberjs.github.com | ||
cd emberjs.github.com | ||
git add -A . | ||
git commit --allow-empty -am "$COMMIT" | ||
git push origin master |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqoOhBGZ2ybrnTMGdGWPLwjPDZgdYNrD7K3hflultjo6jsfRAnBPbzwz4v3XhJtjDqPKom4Yh+c/urKPLi9KWy8pi+Dr3q6S1sbpRNZJIjnZrhLlbKaasqlquohDpm7e6+kUW+3500vIJ0rk9+aa75e3EQQJaER8FSRLLktGuSZzmnJFLlqgy0aZY401ga8MsklXk1CiqIbYd/FnhxAY4GgDQ4djAG5LxvxRBhqLqULGWD4jCXeKrPrmqEN2KJekdLgIcYChuV9tQ3svuUigdl5vJtk1cCbxNmfAfssIb08BWqlICsUdrZ2uNGPIwOBJElXBN1ZAoeLBn36lBGJQQ9 [email protected] |