Skip to content

Commit f32d7fe

Browse files
committed
Update Rakefile
1 parent 8feaf13 commit f32d7fe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Rakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ task :generate do
44
system "rm -rf build"
55
system "./bin/middleman build --clean"
66
cd "build" do
7+
system "touch .nojekyll"
78
system "git init"
89
system "git remote add origin git@github.com:mvcss/mvcss.github.com.git"
910
end
1011
end
1112

12-
desc "Push the build to the gh-pages branch on GitHub"
13+
desc "Push the build to GitHub"
1314
task :push do
1415
puts "## Deploying build to GitHub Pages"
1516
cd "build" do
1617
system "git add ."
1718
system "git add -u"
1819
system "git commit -m \"Site updated at #{Time.now.utc}\""
19-
system "git push origin master:gh-pages --force"
20+
system "git push origin master --force"
2021
end
2122
end
2223

build/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)