Last active
October 30, 2019 16:45
-
-
Save jadechip/3b2ad40da27d74c413bf52daaba60b8b to your computer and use it in GitHub Desktop.
Environment variables for Drone CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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