Skip to content

Commit bae61e3

Browse files
committed
adding circle, first will try build
1 parent 3f31e30 commit bae61e3

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

circle.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
machine:
2+
ruby:
3+
version: rbx-2.2.6
4+
5+
dependencies:
6+
pre:
7+
- gem install jekyll
8+
9+
general:
10+
artifacts:
11+
- "./_site"
12+
13+
test:
14+
override:
15+
- BASEURL=https://circle-artifacts.com/gh/$CIRCLE_USERNAME/singularityware.github.io/$CIRCLE_PREVIOUS_BUILD_NUM/artifacts/0/home/ubuntu/singularityware.github.io/_site/
16+
- echo $BASEURL
17+
- sed -i "s,/singularityware.github.io/,$BASEURL,g" "_config.yml"
18+
- sed -i "s,/page:num/,$BASEURLpage:num/,g" "_config.yml"
19+
- jekyll build

0 commit comments

Comments
 (0)