Thanks to visit codestin.com Credit goes to github.com
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 3e865c3 commit 2c27c6aCopy full SHA for 2c27c6a
Rakefile
@@ -27,6 +27,6 @@ task :deploy => [:check_git] do
27
puts "...generate _site"
28
system "jekyll build --verbose && git checkout \"#{deploy_branch}\" && git pull origin \"#{deploy_branch}\" && cp -r _site/* . && rm -rf _site/ && touch .nojekyll && git add . && git commit -m \"#{message}\" && git push origin \"#{deploy_branch}\"" or exit!(1)
29
puts "...git checkout \"#{source_branch}\""
30
- system "git checkout \"#{source_branch}\"" or exit!(1)
+ system "git checkout \"#{source_branch}\""
31
system "osascript -e 'display notification \"rake deploy just finished\" with title \"Docs are ready!\"'"
32
end
0 commit comments