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
1 parent
2918580
commit 048535c
Showing
3 changed files
with
28 additions
and
30 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,3 +1,10 @@ | ||
language: dart | ||
script: dart -c tool/grind.dart | ||
sudo: false | ||
|
||
after_success: | ||
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash tool/ghpages.sh | ||
|
||
env: | ||
global: | ||
- secure: LImP9GVVlazcPAwId9YewKxtW7fJKYex6Nt02uUzXKSY6Dx7Rn5jXp5afUwnSYs1zMJIb3PJUnzRkWobRF7xShZhAw41D1yNRQrTgoM3OaPCCPUWRzv9M5rBdiPIbw3iP5kFwOYTLjeApX3d+OHUw6jUyPu0fCyvootVPIi+jYE= |
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,21 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit -o nounset | ||
|
||
rev=$(git rev-parse --short HEAD) | ||
|
||
cd doc/api | ||
|
||
git init | ||
git config user.name "Devon Carew" | ||
git config user.email "devoncarew@google.com" | ||
|
||
git remote add upstream "https://$GH_TOKEN@github.com/google/grinder.dart.git" | ||
git fetch upstream | ||
git reset upstream/gh-pages | ||
|
||
touch . | ||
|
||
git add -A . | ||
git commit -m "rebuild pages at ${rev}" | ||
git push -q upstream HEAD:gh-pages |
This file was deleted.
Oops, something went wrong.