mirror of https://github.com/rust-lang/rfcs
20 lines
495 B
YAML
20 lines
495 B
YAML
language: rust
|
|
script:
|
|
- (cargo install mdbook --git https://github.com/azerupi/mdBook.git --force || true)
|
|
- mkdir src
|
|
- echo "[Introduction](introduction.md)\n" >> src/SUMMARY.md
|
|
- |
|
|
for f in $(ls text/* | sort)
|
|
do
|
|
echo "- [$(basename $f ".md")]($(basename $f))" >> src/SUMMARY.md
|
|
mv $f src
|
|
done
|
|
- cp README.md src/introduction.md
|
|
- mdbook build -d .
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
github_token: $GITHUB_TOKEN
|
|
on:
|
|
branch: master
|