/capistrano-gitlab-artifact

Capistrano Gitlab Artifact - Deploy artifact from Gitlab build

Primary LanguageRuby

Capistrano::GitlabArtifact

Gitlab Artifact is a Custom SCM Plugin for Capistrano v3

Installation

# Gemfile
gem 'capistrano-gitlab-artifact', '0.0.2'

Usage

Require capistrano-gitlab-artifact in your Capfile

# Capfile
require "capistrano/scm/gitlab-artifact"
install_plugin Capistrano::SCM::GitlabArtifact

Settings

# Custom "Gitlab Artifact" SCM configuration
set :gitlab_artifact_url, 'https://your.gitlab.com/your-namespace/your-repository/-/jobs/artifacts/gitlab-ci/download?job=build'
set :gitlab_artifact_private_token, 'your-private-token'