Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunze committed Sep 10, 2019
1 parent 0d7b3f1 commit c87c3cd
Show file tree
Hide file tree
Showing 5 changed files with 26,485 additions and 16,376 deletions.
25 changes: 23 additions & 2 deletions .travis.yml
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
Loading

0 comments on commit c87c3cd

Please sign in to comment.