File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,21 @@ version: 2
3
3
jobs :
4
4
build :
5
5
docker :
6
- - image : hrektts/mdbook:0.3.0
6
+ - image : quay.io/rust-lang-ja/circleci:atcoder-resources
7
7
parallelism : 1
8
8
steps :
9
9
- checkout
10
- - run : apt-get update && apt-get install -y git-core
11
10
# Remove .gitconfig added by Circle CI as cargo doesn't support ssh authorization
12
11
- run : rm -f ~/.gitconfig
13
12
- run : mdbook build
14
13
- run : mdbook test
15
14
- store_artifacts :
16
15
path : docs
17
- # - deploy:
18
- # name: If master branch, publish to GitHub Page
19
- # command: |
20
- # if [ "x_${CIRCLE_BRANCH}" == "x_master" ]; then
21
- # git config user.name "bn-e (CircleCI)"
22
- # git config user.email "[email protected] "
23
- # ./tools/circleci/push-to-master.sh
24
- # fi
16
+ - deploy :
17
+ name : If master branch, publish to GitHub Page
18
+ command : |
19
+ if [ "x_${CIRCLE_BRANCH}" == "x_master" ]; then
20
+ git config user.name "bn-e (CircleCI)"
21
+ git config user.email "[email protected] "
22
+ ./tools/circleci/push-to-master.sh
23
+ fi
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ $RUST_HOME (/usr/local/lib/rust)
81
81
82
82
** AtCoderジャッジサーバでのファイルレイアウト(ジャッジの際に作成する)**
83
83
84
- ```
84
+ ``` console
85
85
$HOME # ユーザのホームディレクトリ
86
86
└-- WORKAREA # ジャッジ用の一時ディレクトリ
87
87
|-- main.rs # ユーザプログラム(提出されたプログラム)のソースコード
You can’t perform that action at this time.
0 commit comments