Sha256: 19cf9fcec6fbb3630c5fb4d361db4fc8b5c119d48eb04c8cb825d17e08f67b87
Contents?: true
Size: 783 Bytes
Versions: 6
Compression:
Stored size: 783 Bytes
Contents
module Phase module CLI class Deploy < Command command :deploy do |c| c.syntax = "phase deploy <environment>" c.description = <<-EOS.strip_heredoc Builds and deploys code to the specified <environment>. <environment> may be any environment configured in the Phasefile. EOS c.action do |args, options| new(args, options).run end end attr_reader :environment def initialize(args, options) @environment = args.first super end def run # load_environment_config # create_build_dir # shallow_clone_repository # build_docker_image # push_docker_image # trigger_remote_deployment end end end end
Version data entries
6 entries across 6 versions & 1 rubygems