Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 302bafd

Browse files
Merge pull request #97 from CoderDojoPotsdam/github-deployment
GitHub deployment
2 parents 6064e42 + 16c9f77 commit 302bafd

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

‎.travis.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,19 @@ rvm:
44
install:
55
- gem install jekyll
66
script:
7-
- jekyll build
7+
- build_folder="regex-tutorial-$TRAVIS_BUILD_NUMBER"
8+
- zip_file="/tmp/regex-tutorial.zip"
9+
- jekyll build --destination "$build_folder"
10+
before_deploy:
11+
# https://unix.stackexchange.com/a/6599/27328
12+
- zip -r9 "$zip_file" "$build_folder"
13+
deploy:
14+
provider: releases
15+
api-key:
16+
secure: "eNoHCVt2RIX3ATTYGSTxzYPOJ5m3rPYMVgapYhhvKGpM6rfOhsEKT7kZ7hHYzitvJSRFuogHagVWh/i6e1fzTNxs+3nta8/F+jmQ2IQvjAJ0lARk6QV47AFFAk91ZPv5sky99eN0cifuRtIDkgX6dNNwF4aW4FkwQkpo4/90F0+mDzzJBl2DgjAp+xT4m8ZRAQDjOqDZplLyCmE7mzQ5jcPc6hUtWgiGAihV+43ZNkDR+XlPSGnC93D1CR5e1KGbi/SmgADpjCeTitFQaSkCcrqs4XfX/BfxHt8rGXmzV7oY+Gzh8iXY8TYUuyauxJJQIcPkoRZPvErmlKBVZsy4zvJBO9VssvV8swkfujBiSufZ5UdKhgakoFm36jw2vnnFhbeyhugM5qGk90Eenmi8VjDD3leSpP29+CdMXG+T8KE8iP6sgnWzOYX4eFpmwb00GswgW0X6w6LfX8XLVpWhxvSt1Xwv1BvdmZp7lz9jN8fAljsFsz0G68Q/NYkpSgufM7wRAB7KFkJ/acd2mJflc19l616Z1dDyf8EJ5tqnWpFc02s4lNm55Mszu40ds9cx4VowPZ6uqQLSSVJ7RaNbYoFOlVdMSZE/pSr/uTfplGu9tv+KxHPXpVSt/Bc8guXz7TjJD+OWizHLRW6uRpVFqKuvOc9jaB01DedI4v4boM4="
17+
file_glob: true
18+
file: "$zip_file"
19+
skip_cleanup: true
20+
on:
21+
branch: master
22+
repo: CoderDojoPotsdam/regex-tutorial

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /