-
Notifications
You must be signed in to change notification settings - Fork 62
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
5 changed files
with
26,485 additions
and
16,376 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,24 @@ | ||
language: rust | ||
before_script: gem install awesome_bot | ||
script: awesome_bot -f README.md --allow-dupe --allow-ssl --white-list crates.io,sciter.com,cloudsmith.io,travis-ci.org | ||
|
||
env: | ||
global: | ||
# Github Pages | ||
- GH_REF: github.com/awesome-rust-com/awesome-rust.com | ||
|
||
before_install: | ||
- gem install awesome_bot | ||
- cargo install markdown2html-converter | ||
|
||
install: | ||
- markdown2html-converter ./README.md -o ./public/index.html | ||
|
||
script: | ||
- cd ./public | ||
- git init | ||
- git config user.name "wujunze" | ||
- git config user.email "itwujunze@163.com" | ||
- git add . | ||
- git commit -m "Update Wesite By TravisCI With Build $TRAVIS_BUILD_NUMBER" | ||
# Github Pages | ||
- git push --force --quiet "https://$GITHUB_TOKEN@${GH_REF}" master:master | ||
# - awesome_bot -f README.md --allow-dupe --allow-ssl --white-list crates.io,sciter.com,cloudsmith.io,travis-ci.org |
Oops, something went wrong.