From 6c8327ffbcbd944e46dc52a9f3808032be22437d Mon Sep 17 00:00:00 2001 From: Ruan Bekker Date: Mon, 22 Apr 2019 16:17:14 +0200 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 996748a..00b0a32 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,23 @@ # drone-ci-testing [![Build Status](https://drone.rbkr.xyz/api/badges/ruanbekker/drone-ci-testing/status.svg)](https://drone.rbkr.xyz/ruanbekker/drone-ci-testing) testing cloud.drone.io +## Drone CLI Setup + +[Docs](https://docs.drone.io/cli/install/) + +``` +curl -L https://github.com/drone/drone-cli/releases/download/v1.0.7/drone_darwin_amd64.tar.gz | tar zx +sudo cp drone /usr/local/bin +``` + +Get your account details at https://drone.your-domain.com/account + +``` +export DRONE_SERVER=https://yourdomain +export DRONE_TOKEN=xx +drone info +``` + ## Usage ### Run shell commands in a step