Skip to content

Question: using octopress-deploy in isolation? #68

@dgmstuart

Description

@dgmstuart

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions