Your site's deploy key can be found under the “Settings” tab in StaticKit. Instead of using the -k flag every time, you can create a .env file in the root of your project and define an environment variable:

echo"STATICKIT_DEPLOY_KEY=<your-deploy-key>">> .env

echo".env">> .gitignore

Do not commit your .env file to version control. You should treat your deploy key like any other secret token. A common convention is to create a .env.example file (excluding the actual key) that developers can use as a template: