Skip to content

GitHub Action for Civo - civo

Actions
Use civo to manage your Civo resources
v1.0.1
Latest
By civo
Star (7)

GitHub Actions for Civo

This action enables you to interact with Civo services by installing the civo command-line client.

Usage

To install the latest version of civo and use it in GitHub Actions workflows, add the following step:

    - name: Install civo
      uses: civo/action-civo
      with:
        token: ${{ secrets.CIVO_TOKEN }}

civo will now be available in the virtual environment and can be used directly in following steps. As an example, one common use case is retrieving the credentials for a Kubernetes cluster hosted on Civo for use in a deployment workflow:

    - name: Save Civo kubeconfig
      run: civo kubernetes config CLUSTER_NAME

Arguments

  • token – (Required) A Civo personal access token.
  • version – (Optional) The version of civo to install. If excluded, the latest release will be used.

Contributing

To install the needed dependencies, run npm install. The resulting node_modules/ directory is not checked in to Git.

Before submitting a pull request, run npm run package to package the code using ncc. Packaging assembles the code including dependencies into one file in the dist/ directory that is checked in to Git.

License

This GitHub Action and associated scripts and documentation in this project are released under the MIT License.

GitHub Action for Civo - civo is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Use civo to manage your Civo resources
v1.0.1
Latest
By civo

GitHub Action for Civo - civo is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.