##For private projects:
-
Remove Appveyor deployment key from https://bitbucket.org/<your_account_name>/<your_repo>/admin/deploy-keys/
-
Copy this key content from https://ci.appveyor.com/project/<your_account_name>/<your_repo>/settings > SSH public key
-
Add new key in https://bitbucket.org/account/user/<your_account_name>/ssh-keys/ and paste content copied before
Points 1 – 3 needed to allow appveyor to push, as by default SSH key used is deployment key which has read-only permissions.
- Add the following to appveyor.yml (you can do on_success if you need):