Connect Using Ionic Remote
If you are not using one of the supported git repo integrations, you can push your source code directly to Ionic Appflow using Git.
Ionic Appflow is not a replacement for a git hosting service.
It is recommended that you use a git hosting service to manage your primary app source code (GitHub, Bitbucket, etc.)!
ionicremote is used only for interacting with the Ionic Appflow services.
To link your local repo, simply run
ionic link in the root directory of your existing project
Ionic Appflow as your git remote. This will allow you to select the Dashboard app you'd like to link to,
ionic remote in your local git configuration, and create or use
an existing SSH key pair for authentication when pushing changes to Ionic Appflow.
You can learn more about git remotes here.
Ionic remote authentication is done via public/private SSH key pairs for the most secure authentication possible.
You'll need to upload a public key to Ionic Appflow to authenticate yourself. This can be automatically done during the
ionic link process or manually.
Once you've selected the correct app and the
Ionic Appflow remote, you will be prompted to create an SSH key pair
or use an existing one. If you're not familiar with SSH keys we suggest letting the CLI automatically create
and add them for you. Otherwise, you can choose to use an existing key and provide the CLI with a path to
the public key on your local machine. You can also upload an existing public key in the Appflow Dashboard in
the personal Settings area, which you can find by clicking your profile icon on the lower left side of the Dashboard.