Sha256: f3a09a9afc685a753ed26fed186cc65a255cf5ffba55ef991e53dbd804d1416c
Contents?: true
Size: 839 Bytes
Versions: 3
Compression:
Stored size: 839 Bytes
Contents
module Dpl module Providers class Netlify < Provider register :netlify status :stable 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dpl-2.0.2.beta.1 | lib/dpl/providers/netlify.rb |
dpl-2.0.0.beta.3 | lib/dpl/providers/netlify.rb |
dpl-2.0.0.beta.2 | lib/dpl/providers/netlify.rb |