We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed84c4 commit 73750b3Copy full SHA for 73750b3
Rakefile
@@ -9,12 +9,12 @@ desc "Helper task to check if everything is committed."
9
task :commited? do
10
output = `git status`
11
unless /nothing to commit/. =~ output
12
- fail "COMMIT YOUR CHANGES FIRST!"
+ system "git commit -a"
13
end
14
15
16
desc "Deploys the project to master branch, expects the command `git` to be available."
17
-task :deploy => [:commited?, :build] do
+task :deploy => [:build, :commited?] do
18
Dir.mktmpdir do |tempdir|
19
print "Copying generated site: _site/* -> #{tempdir}"
20
FileUtils.cp_r "_site/.", tempdir
0 commit comments