Code Monkey home page Code Monkey logo

push-build-information-action's Introduction

push-build-information-action

This is a GitHub Action to push build information to Octopus Deploy. It requires the Octopus CLI; please ensure to include install-octopus-cli-action in your workflow (example below) before using this GitHub Action.

Examples

Incorporate the following actions in your workflow to push build information to Octopus Deploy using an API key, a target instance (i.e. server), and a package:

env:
  OCTOPUS_CLI_SERVER: ${{ secrets.OCTOPUS_URL }}
  OCTOPUS_CLI_API_KEY: ${{ secrets.OCTOPUS_API_KEY }}
steps:
  - uses: actions/checkout@v2
  - name: Install Octopus CLI ๐Ÿ™
    uses: OctopusDeploy/install-octopus-cli-action@<version>
    with:
      version: latest
  - name: Push build information to Octopus Deploy ๐Ÿ™
    uses: OctopusDeploy/push-build-information-action@<version>
    with:
      space: '<space>'
      packages: |
        <packageId1>
      version: '<versionofpackages>'

๐Ÿ“ฅ Inputs

The following inputs are required:

Name Description Default
packages A multi-line list of packages to push build information to Octopus Deploy.
space The name or ID of a space within which this command will be executed.
version The version of the package(s).

The following inputs are optional:

Name Description Default
branch The branch name, if omitted the GitHub ref will be used.
overwrite_mode Determines the action to perform with build information if it already exists in the repository. Valid input values are FailIfExists, OverwriteExisting, and IgnoreIfExists. FailIfExists
debug Logs the build information data. false

push-build-information-action's People

Contributors

hnrkndrssn avatar slewis74 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.