Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 785d00f

Browse files
committed
Fix CircleCI build by introducing a custom built Docker image
1 parent 181c8e7 commit 785d00f

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.circleci/config.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@ version: 2
33
jobs:
44
build:
55
docker:
6-
- image: hrektts/mdbook:0.3.0
6+
- image: quay.io/rust-lang-ja/circleci:atcoder-resources
77
parallelism: 1
88
steps:
99
- checkout
10-
- run: apt-get update && apt-get install -y git-core
1110
# Remove .gitconfig added by Circle CI as cargo doesn't support ssh authorization
1211
- run: rm -f ~/.gitconfig
1312
- run: mdbook build
1413
- run: mdbook test
1514
- store_artifacts:
1615
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

src/atcoder-env/installing-rust-crates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ $RUST_HOME (/usr/local/lib/rust)
8181

8282
**AtCoderジャッジサーバでのファイルレイアウト(ジャッジの際に作成する)**
8383

84-
```
84+
```console
8585
$HOME # ユーザのホームディレクトリ
8686
└-- WORKAREA # ジャッジ用の一時ディレクトリ
8787
|-- main.rs # ユーザプログラム(提出されたプログラム)のソースコード

0 commit comments

Comments
 (0)