Skip to content

Instantly share code, notes, and snippets.

@collin
Created November 12, 2013 21:34
Show Gist options
  • Save collin/7439184 to your computer and use it in GitHub Desktop.
Save collin/7439184 to your computer and use it in GitHub Desktop.

You can get your api-token from the divshot config file:

cat ~/.divshot/config/user.json 
{
  "token": "<SUPER SECRET TOKEN STRING>"
}

Then commands can be run via:

divshot promote staging production --token <SUPER SECRET TOKEN STRING>

That way you could put your token into a script that 'wercker' runs.

@hijonathan
Copy link

This rocks. Will hook it up right now :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment