Skip to content

Instantly share code, notes, and snippets.

@diraulo
Last active December 12, 2016 17:51
Show Gist options
  • Save diraulo/4caa4dd72707794765c22f5c82491e34 to your computer and use it in GitHub Desktop.
Save diraulo/4caa4dd72707794765c22f5c82491e34 to your computer and use it in GitHub Desktop.
Code snippet for medium post on deploying Middleman sites via SemaphoreCI
# ... More configs
activate :deploy do |deploy|
deploy.deploy_method = :rsync
deploy.host = 'user@hostname_or_server_ip'
deploy.path = '/path/to/website/root'
deploy.build_before = true
deploy.clean = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment