debian-mirror-gitlab/lib/gitlab/ci/config/entry/publish.rb

25 lines
479 B
Ruby
Raw Normal View History

2023-06-20 00:43:36 +05:30
# frozen_string_literal: true
module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents the path to be published with Pages.
#
class Publish < ::Gitlab::Config::Entry::Node
include ::Gitlab::Config::Entry::Validatable
validations do
validates :config, type: String
end
def self.default
'public'
end
end
end
end
end
end