Skip to content

Commit 152b275

Browse files
authored
Merge pull request #83 from rust-lang-nursery/book-ci
Book ci
2 parents 52d2e26 + fab88ee commit 152b275

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
books:
2+
image: rust:stretch
3+
before_script:
4+
- cargo install mdbook
5+
script:
6+
- cd books/embedded-rust-book
7+
- mdbook build
8+
- cd ../embedonomicon
9+
- mdbook build
10+
after_script:
11+
- curl -X POST -F token=$DEPLOY_DOCS_TRIGGER_TOKEN -F ref=master https://gitlab.onevariable.com/api/v4/projects/8/trigger/pipeline
12+
artifacts:
13+
paths:
14+
- books/embedded-rust-book/book
15+
- books/embedonomicon/book
16+
expire_in: 1 month
17+
only:
18+
- master

0 commit comments

Comments
 (0)