Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

codeclimate/velocity-deploy-action

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 1, 2019 15:05
August 5, 2019 13:48
lib
August 1, 2019 15:05
August 1, 2019 15:05
src
August 1, 2019 15:05
August 1, 2019 15:05
July 25, 2019 16:26
August 1, 2019 15:05
August 5, 2019 13:48
August 5, 2019 13:20
August 1, 2019 15:05
August 1, 2019 15:05
July 25, 2019 16:26

Velocity deployment reporter

This is a simple GitHub action that will report deployments to Velocity

Usage

In your workflow, define a step which refers to the action:

    steps:
      # ...
      - name: Send Velocity deployment
        uses: codeclimate/velocity-deploy-action@master
        with:
          token: ${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }}
          version: ${{ outputs.version }}
          environment: ${{ outputs.environment }}

The possible inputs are:

  • token: (string, required): The Velocity deployment token, which you can find on Velocity's settings. This should be provided as a secret, which you can add by visiting the GitHub repository's settings page.
  • version: (string) The version tag for the deploy (i.e. b123). If this action is triggered on a deploy event, it will also try to infer the environment from the event. Please note that the version must be unique for each deployment for the same repository and environment. In other words, if you already deployed a v1.0 for https://github.com/user/project in production, the next deploy for the same repository and environment must have a different version, or no version.
  • environment: (string) The environment of the deploy (i.e. production).

Demo

Demo

Copyright

See LICENSE

OSZAR »