mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Merge pull request #583 from xuhdev/deploy-nojekyll
Use a more portable way to create .nojekyll file when deploying to github pages.
This commit is contained in:
commit
3b26147aef
2
Rakefile
2
Rakefile
@ -295,7 +295,7 @@ multitask :push do
|
|||||||
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
||||||
cp_r "#{public_dir}/.", deploy_dir
|
cp_r "#{public_dir}/.", deploy_dir
|
||||||
cd "#{deploy_dir}" do
|
cd "#{deploy_dir}" do
|
||||||
system "touch .nojekyll"
|
File.new(".nojekyll", "w").close
|
||||||
system "git add ."
|
system "git add ."
|
||||||
system "git add -u"
|
system "git add -u"
|
||||||
message = "Site updated at #{Time.now.utc}"
|
message = "Site updated at #{Time.now.utc}"
|
||||||
|
Loading…
Reference in New Issue
Block a user