@joystick.js/cli

push

Deploy a Joystick app using Push.

To deploy an existing Joystick app via Push, from your terminal, run:

joystick push -d <domain>

When running this command, if you haven't run it before, you will be prompted for your Push account's Session Token.

Options

-d, --domain required
The domain to deploy this app to (must be created via the Push app).
-e, --environment
The environment to set for process.env.NODE_ENV when your app is deployed (default production).
-t, --token
The deployment token for your deployment. Only required on the first deployment (Joystick will save this to your machine for re-use), or, when using multiple Push accounts.