Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: using octopress-deploy in isolation? #68

Open
dgmstuart opened this issue Feb 2, 2016 · 0 comments
Open

Question: using octopress-deploy in isolation? #68

dgmstuart opened this issue Feb 2, 2016 · 0 comments

Comments

@dgmstuart
Copy link

I'm using octopress/octopress for my blog, and deployment with that is such a nice experience that I'd like to use octopress/deploy to deploy another jekyll site which I have - a pretty simple one which doesn't have any posts, and so wouldn't make use of the main functionality of the octopress cli.

I could just add the main octopress gem to my gemfile, but that feels a bit bloat-y so I've made a bin/deploy script so that I can use octopres/deploy in isolation:

#!/usr/bin/env ruby
require 'octopress-deploy'
Octopress::Deploy.push

This works but feels like a bit of a hack. Is octopress/deploy intended to be used in isolation at all, or is it just a way of isolating some of the code from octopress/octopress?

Did you consider giving this gem it's own executable commands? Would it ever make sense to extract Octopress::Command into a tiny gem which could be included in octopress/octopress, octopress/deploy and any other gems which might add commands to the octopress executable in future?

(p.s. thanks again for all your work on these tools)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant