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