Skip to content

Commit 32bc534

Browse files
author
Ben Cipollini
committed
Update circle config; we should use baseurl everywhere.
1 parent 98de0ee commit 32bc534

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: _config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ author:
88
url: "nipy.github.io"
99

1010
# Build settings
11-
baseurl: "/"
11+
baseurl: "/" # this must be line 11; see circle_urls.sh
1212
markdown: kramdown
1313
source: .
14-
destination: ./_site
14+
destination: ./_site # this must be line 14; see circle_urls.sh
1515
permalink: "/:title"
1616
paginate: 8
1717
paginate_path: /page:num/

Diff for: circle_urls.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
BASEURL=https://circle-artifacts.com/gh/nipy/nipy.github.com/$CIRCLE_BUILD_NUM/artifacts/0/home/ubuntu/nipy.github.com/_site/
2-
echo $BASEURL
3-
sed -i "s,/,$BASEURL,g" "_config.yml"
42
sed -i "14 s,.*,destination: ./_site,g" "_config.yml"
53
sed -i "11 s,.*,baseurl: $BASEURL,g" "_config.yml"

0 commit comments

Comments
 (0)