Skip to content

Instantly share code, notes, and snippets.

@jadechip
Last active October 30, 2019 16:45
Show Gist options
  • Save jadechip/3b2ad40da27d74c413bf52daaba60b8b to your computer and use it in GitHub Desktop.
Save jadechip/3b2ad40da27d74c413bf52daaba60b8b to your computer and use it in GitHub Desktop.
Environment variables for Drone CI
#!/bin/bash
# Set environment variables
export DRONE_SERVER_HOST=${DRONE_SERVER_HOST} # i.e drone.mydomain.io
export DRONE_RPC_SECRET=${DRONE_RPC_SECRET} # i.e correct-horse-batter-staple
export DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID} # i.e di2450-3huchuy-fdhu378-k24556892
export DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET} # i.e dx19x3-3o44h0y-id6uf7h-q4fg5hkp2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment