-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
53 additions
and
13 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 |
---|---|---|
@@ -1,8 +1,4 @@ | ||
public/*.html | ||
public/*pdf* | ||
paged | ||
tmp | ||
|
||
vendor | ||
.travis/deploy_key.pem | ||
|
||
Gemfile.lock | ||
vendor |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "book/code"] | ||
path = book/code | ||
url = git@github.com:love2D-community/love2D-book-code.git | ||
url = https://github.com/love2d-community/love2d-book-code.git | ||
[submodule "public"] | ||
path = public | ||
url = [email protected]:love2D-book/love2D-book.github.io.git | ||
url = https://github.com/love2d-community/love2d-book.git | ||
branch = gh-pages |
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,20 @@ | ||
language: ruby | ||
|
||
rvm: | ||
- 2.3.0 | ||
|
||
env: | ||
- [email protected]:love2d-community/love2d-book.git | ||
# global: | ||
# - [email protected]:love2d-book/love2d-book.github.io.git | ||
|
||
bundler_args: "--without production" | ||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_df9da5f220ff_key -iv $encrypted_df9da5f220ff_iv | ||
-in .travis/deploy_key.pem.enc -out .travis/deploy_key.pem -d | ||
|
||
script: | ||
- bundle exec ./render.sh | ||
|
||
after_success: | ||
- .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,20 @@ | ||
#!/bin/bash | ||
set -ev | ||
if [ "${TRAVIS_BRANCH}" = "master" ]; then | ||
eval "$(ssh-agent -s)" | ||
chmod 600 .travis/deploy_key.pem | ||
ssh-add .travis/deploy_key.pem | ||
|
||
cd public | ||
git remote add pages $REPO_URI | ||
# git remote add io $REPO_IO_URI | ||
|
||
git config --global user.email "travis@splashes" | ||
git config --global user.name "Travis Build Bot" | ||
|
||
git add . | ||
git commit -m "Update to ${TRAVIS_COMMIT}" | ||
|
||
git push pages | ||
# git push io gh-pages:master | ||
fi |
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 AAAAB3NzaC1yc2EAAAADAQABAAACAQDi+IyDRkt4gH8sOt6lOVqdI04/krlXm25EV5TSh9bmvIOk/brkA3InEag/awD/HQ/AYbxVXeluOSei0eHmuEOdgAgQt26zWi4nwJ2wmmCAmnmRPJto+U2LB1LAIRtBeBJR/QBiywacJ/sL3WYolxySgHVnLRNGX7+e6UUiXEySKUZb/ed5Y4zJNWbX93Ck2i9GFyOrXmdVwNZKvVCNbx8LeAQa0QnjYIlRsEuRwB8QNiJMsArV3HOsuwNQS6g7wsOeW8J81t3SgOZVLPPA4ZCDMOjm/4Mz7N9qqrFiCFlSkJYB1bzHrCF3Byo8240FVm9kQ1N/M5H7qDG5iDE1t0TEe1lBb6L/papLbb04Z44dYDZaHIBXuslzoiHRNwUXLDzzIUmgjQe25S+psUeTk/swHlYI1E+Qj2Dn3ioON025+wpzh21fYECYZcJmXLfEMOJPvK5JVZ2ateh+i/B+cjx1eW0YJ4UPnu0zvTxLYQn8LtL1RIPUAcxdf22Q07cJ+miEN3kValbiUS9Qy6dBicPAnJMluVTS8Ndg0onw48yaQeIJeBWNIn+zS/wvJIN71C/52Q87zJeYVQHUWZYrF/bn8yPFZNvXupFho/XJBPRljsUCTJl3eqOMZxWc3oG07EK/S8KuoV5171lj+HUlve8oHuDZx8epR9Iym8y5J7R+Pw== travis@love2d-book |
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
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