File tree Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Expand file tree Collapse file tree 2 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
- before_install :
3
- - openssl aes-256-cbc -K $encrypted_1cc96cfefdcd_key -iv $encrypted_1cc96cfefdcd_iv -in rfcs-publish-key.enc -out ~/.ssh/rfcs-publish-key -d
4
- - chmod u=rw,og= ~/.ssh/rfcs-publish-key
5
- - echo "Host github.com" >> ~/.ssh/config
6
- - echo " IdentityFile ~/.ssh/rfcs-publish-key" >> ~/.ssh/config
7
- - git --version
8
- script :
9
- - rev=$(git rev-parse --short HEAD)
10
- - (cargo install mdbook --vers '^0.2.0' --force || true)
11
- - ./generate-book.sh
12
- - cd book
13
- - git init
14
- - git config --global user.name "bors"
15
- -
git config --global user.email "[email protected] "
16
- -
git remote add upstream [email protected] :rust-lang/rfcs.git
17
- - git fetch upstream
18
- - git reset upstream/gh-pages
19
- - touch .
20
- # We don't use jekyll. Disable it so it doesn't assign special meaning to any
21
- # of our files (e.g. ignoring directories with a leading '_').
22
- - touch .nojekyll
23
- - git add -A .
24
- - git commit -m "Rebuild book at ${rev}"
25
- - git push -q upstream HEAD:gh-pages > /dev/null 2>&1
26
2
branches :
27
3
only :
28
4
- master
29
5
6
+ script :
7
+ - (cargo install mdbook --vers '^0.2.0' --force || true)
8
+ - ./generate-book.sh
9
+
10
+ env :
11
+ RUSTINFRA_DEPLOY_DIR : book
12
+ import :
13
+ - rust-lang/simpleinfra/travis-configs/static-websites.yml
You can’t perform that action at this time.
0 commit comments