Skip to content

Instantly share code, notes, and snippets.

Last active October 16, 2016 13:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?

Hi Amos, I'm currently implementing auto-deployment for a game. For this I wrote a deployment script which does the following:

  1. Build the game
  2. Zip it as ''
  3. Download butler executable
  4. Read itch API token from Environment and save it into temporary butler_creds file (set in Travis CI or locally)
  5. Login into butler via butler login -i "butler_creds"
  6. Itch IO claims: API error: invalid key

What shall I do?

echo "Deploying to"
chmod +x butler
butler -V
touch butler_creds
echo "secret-API-token-goes-here" >> butler_creds
butler login -i "butler_creds"
Copy link

btw, I generated the key on

Copy link

chismar commented Oct 16, 2016

Any luck with it? Got the same problem when started to implement CI for my game.

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