Hi Amos, I'm currently implementing auto-deployment for a game. For this I wrote a deployment script which does the following:
- Build the game
- Zip it as 'game.zip'
- Download butler executable
- Read itch API token from Environment and save it into temporary
butler_creds
file (set in Travis CI or locally) - Login into butler via
butler login -i "butler_creds"
- Itch IO claims:
itch.io API error: invalid key
What shall I do?
echo "Deploying to itch.io.."
wget https://dl.itch.ovh/butler/darwin-amd64/head/butler
chmod +x butler
butler -V
touch butler_creds
echo "secret-API-token-goes-here" >> butler_creds
butler login -i "butler_creds"
```
Any luck with it? Got the same problem when started to implement CI for my game.