Rubygems Plugin

Use this plugin for publishing gems to a Rubygems server. You can override the default configuration with the following parameters:

  • api_key - Rubygems API Key, get it here
  • username - Username, only required without API key
  • password - Password, only required without API key
  • name - Name of the gem, defaults to repo name
  • gemspec - Path to gemspec, defaults to repo name with .gemspec suffix
  • host - Rubygems host, only required for a selfhosted gem server
  • skip_cleanup - Flag to deploy from the current file state


The following is a sample configuration in your .drone.yml file:

    api_key: e123f83113f79eb17308bbf1ca8885bb
      branch: master
This website is a public GitHub repository, which is forked from upstream Drone CI documentation. Please help us by forking and improving upstream Drone CI documentation or Tea CI documentation.