How do I deploy to my Datica environment?
- If you haven’t already, install The Platform CLI.
- Navigate to the root directory of your local repository (this is the directory that contains the
- Run the
initcommand if you have not signed in already (the init command does this for you), replacing
my-code-servicewith your environment’s name and your code service’s name both found in the Platform dashboard:
# If you have not signed in with the cli yet datica init
Push your local
master branch to the
datica remote (created when you ran
git push datica master
If the branch you want to push is not master, run this instead:
git push datica my-branch-name:master
The build output will stream from Datica’s servers to your terminal. If the build is successful, your service will be redeployed.