Created
February 10, 2014 08:54
-
-
Save ennorehling/8912543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Rakefile b/Rakefile | |
index ae0765a..77bdbbc 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -9,7 +9,8 @@ ssh_port = "22" | |
document_root = "~/website.com/" | |
rsync_delete = false | |
rsync_args = "" # Any extra arguments to pass to rsync | |
-deploy_default = "rsync" | |
+weex_args = "-s blog" | |
+deploy_default = "weex" | |
# This will be configured for you when you run config_deploy | |
deploy_branch = "gh-pages" | |
@@ -234,6 +235,12 @@ task :copydot, :source, :dest do |t, args| | |
end | |
end | |
+desc "Deploy website via weex" | |
+task :weex do | |
+ puts "## Deploying website via weex" | |
+ ok_failed system("weex #{weex_args}") | |
+end | |
+ | |
desc "Deploy website via rsync" | |
task :rsync do | |
exclude = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment