Sha256: bb7c105d69ea43090414e36502574b232f6612a1dd9510bc98a2465c9b93529f
Contents?: true
Size: 812 Bytes
Versions: 2
Compression:
Stored size: 812 Bytes
Contents
module Dpl module Providers class Netlify < Provider status :beta description sq(<<-str) tbd str npm 'netlify-cli', 'netlify' env :netlify opt '--site ID', 'A site ID to deploy to', required: true opt '--auth TOKEN', 'An auth token to log in with', required: true, secret: true opt '--dir DIR', 'Specify a folder to deploy' opt '--functions FUNCS', 'Specify a functions folder to deploy' opt '--message MSG', 'A message to include in the deploy log' opt '--prod', 'Deploy to production' def deploy shell "netlify deploy #{deploy_opts}" end private def deploy_opts opts_for(%i(site auth dir functions message prod)) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dpl-2.0.0.alpha.11 | lib/dpl/providers/netlify.rb |
dpl-2.0.0.alpha.10 | lib/dpl/providers/netlify.rb |