Coder Social home page Coder Social logo

swinton / install-octocli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from octopusdeploy/install-octopus-cli-action

1.0 2.0 0.0 8.94 MB

The code inside of this repository installs the Octopus Deploy CLI to be used in a GitHub Actions workflow

JavaScript 100.00%

install-octocli's Introduction

install-octocli

The OctopusDeploy/install-octocli Action is a GitHub Action built in JavaScript that's used to install the Octopus CLI on GitHub Action runners and self-hosted environments

Once you use this Action, you can run Octopus Deploy CLI commands directly from GitHub Actions.

What is the Octopus Deploy CLI?

The Octopus Deploy CLI is a command-line interface that allows you to interact with an Octopus Deploy server via API calls.

You can perform many actions, including:

  • Creating releases
  • Deploying releases
  • Listing deployments
  • Listing environments
  • Much more...

To see what you can do with the Octopus Deploy, visit the official documentation

Usage

This Action can be run on the following GitHub Action Runner enviroments:

  • windows-latest
  • macos-latest
  • ubuntu-latest
  • self-hosted

Examples

To install Octopus Deploy CLI version 7.4.2 on the GitHub Actions Runner:

    steps:
      - uses: actions/checkout@v2
      
      - name: install Octopus Deploy CLI
        uses: OctopusDeploy/install-octocli@v1
        with:
          version: 7.4.2

To list deployments using after installing the Octopus Deploy CLI:

    steps:
      - uses: actions/checkout@v2
      
      - name: install Octopus Deploy CLI
        uses: OctopusDeploy/install-octocli@v1
        with:
          version: 7.4.2
          
      - name: list-octopusdeploy-deployments
        run: octo list-deployments --server=${{ env.serverURL }} --apiKey=${{ secrets.apiKey }}

Inputs

Inputs/parameters/arguments are currently a work in progress. There is one input available, which is to specify the version of the Octopus Deploy CLI you wish to use.

install-octocli's People

Contributors

adminturneddevops avatar jbristowe avatar swinton avatar

Stargazers

 avatar

Watchers

 avatar  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.