{"repo":"digitalocean/action-doctl","free":true,"listed":false,"github":"https://github.com/digitalocean/action-doctl","clone":"git clone https://github.com/digitalocean/action-doctl.git","description":"GitHub Actions for DigitalOcean - doctl","language":"JavaScript","stars":520,"topics":["doctl","digitalocean","github-actions","cicd","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"GitHub Actions for DigitalOcean This action enables you to interact with DigitalOcean services by installing the doctl command-line client. Usage To install the latest version of doctl and use it in GitHub Actions workflows, create a DigitalOcean API token, add it as a secret to your repository, and add the following step to your workflow: doctl 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 DigitalOcean for use in a deployment workflow: See this repository for a full end-to-end example that also demonstrates building a Docker image, pushing it to a private DigitalOcean container registry, and using kubectl to deploy it to the Kubernetes cluster on DigitalOcean. Arguments - token – ( Required ) A DigitalOcean personal access token (more info). - version – (Optional) The version of doctl to install. If excluded, the latest release will be used. - no auth – (Optional) Set to true to skip the authentication step. The API token parameter is Optional in this case. - Note: This can be useful when running in workflows in untrusted environments, or where auth isn't necessary (e.g. doctl app spec validate --schema-only ) - This depends on doctl = v1.101.0 (digitalocean/doctl#1450) Contributing To install the needed dependencies, run npm install . The resulting node modules/ directory is not checked in to Git. Before submitting a pull reques","default_branch":null,"files":null,"tree":[],"storefront":"/r/digitalocean","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/digitalocean/action-doctl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}