File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ require 'tmpdir'
2
2
3
3
# Change your GitHub reponame
4
4
GITHUB_REPONAME = "twlevelup/twlevelup.github.io"
5
+ SITEMAP_URL = "http://levelup.thoughtworks.com/sitemap.xml"
5
6
6
7
desc "Generate blog files"
7
8
task :generate do
@@ -25,5 +26,6 @@ task :publish => [:generate] do
25
26
system "git commit -m #{ message . shellescape } "
26
27
system "git remote add origin https://github.com/#{ GITHUB_REPONAME } .git"
27
28
system "git push origin master --force"
29
+ system "curl http://www.google.com/webmasters/sitemaps/ping?sitemap=#{ SITEMAP_URL } > /dev/null"
28
30
end
29
31
end
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ url: http://levelup.thoughtworks.com
3
3
markdown : redcarpet
4
4
safe : false
5
5
port : 4000
6
- baseurl : /
6
+ baseurl : ' '
7
7
pygments : true
8
8
destination : ./_site
9
9
plugins : ./_plugins
Original file line number Diff line number Diff line change
1
+ Sitemap: http://levelup.thoughtworks.com/sitemap.xml
You can’t perform that action at this time.
0 commit comments