Skip to content

Instantly share code, notes, and snippets.

@evildmp
Created July 13, 2019 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evildmp/6fcfd48d0b87687ab8500dead3b8cd79 to your computer and use it in GitHub Desktop.
Save evildmp/6fcfd48d0b87687ab8500dead3b8cd79 to your computer and use it in GitHub Desktop.
.. raw:: html
<style>
.row {clear: both}
@media only screen and (min-width: 1000px),
only screen and (min-width: 500px) and (max-width: 768px){
.column {
padding-left: 5px;
padding-right: 5px;
float: left;
}
.column2 {
width: 50%;
}
.column3 {
width: 33%;
}
}
.main-visual {
margin-bottom: 0 !important;
}
h2 {border-top: 1px solid #e1e4e5; padding-top: 1em}
</style>
.. |github| image:: /images/github.png
:alt: 'GitHub'
:width: 28
.. |gitlab| image:: /images/gitlab.png
:alt: 'GitLab'
:width: 26
.. |bitbucket| image:: /images/bitbucket.png
:alt: 'BitBucket'
:width: 27
Heading 1
=======================================================
All Divio Cloud projects can use the Git private server we provide. This article describes how you can instead use the
Git hosting provider of your choice.
Heading 2
---------------------------
.. rst-class:: clearfix row
.. rst-class:: column column2
First column
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stuff for column 1
.. rst-class:: column column2
Second column
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stuff for column 2
.. rst-class:: clearfix row
.. _git-repository-add-url:
No more columns.
|github| GitHub
^^^^^^^^^^^^^^^
#. In the repository, go to *Settings* > *Deploy keys* > *Add deploy key*.
#. Paste the key.
#. Select *Allow write access*.
|gitlab| GitLab
^^^^^^^^^^^^^^^^^^^^^^^^
#. In the repository, go to *Settings* > *Repository* > *Deploy keys* > *Create a new deploy key*.
#. Paste the key.
#. Select *Write access allowed*.
|bitbucket| BitBucket
^^^^^^^^^^^^^^^^^^^^^^^
#. Optionally, create a Bitbucket account specifically for Divio Cloud projects - otherwise the key will grant
access to all your Bitbucket projects.
#. Go to *Bitbucket settings* > *SSH keys* > *Add key*.
#. Paste the key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment