Skip to content

Commit 1f7ab83

Browse files
Update deployment info (#455)
* Update deployment info * Update CONTRIBUTING.rst * Update CONTRIBUTING.rst Co-authored-by: Ezio Melotti <[email protected]> Co-authored-by: Ezio Melotti <[email protected]>
1 parent 07c9b0f commit 1f7ab83

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

CONTRIBUTING.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ will automatically be deployed to Heroku. This process takes less than 5 minutes
1818
If after 10 minutes you did not see the changes reflected, please ping one
1919
of the collaborators listed below.
2020

21+
To enable Automatic deployment:
22+
23+
- On the Heroku dashboard for bedevere, choose the "Deploy" tab.
24+
- Scroll down to the "Automatic deploys" section
25+
- Enter the name of the branch to be deployed (in this case: ``main``)
26+
- Check the "Wait for CI to pass before deploy" button
27+
- Press the "Enable automatic deploys" button.
28+
29+
Once done, merging a PR against the ``main`` branch will trigger a new
30+
deployment using a webhook that is already set up in the repo settings.
31+
2132

2233
.. note::
2334

@@ -36,35 +47,25 @@ Heroku admins can do it too.
3647

3748
Details at: https://devcenter.heroku.com/articles/heroku-cli
3849

39-
#. Login to Heroku CLI on the command line and follow instructions
40-
41-
::
50+
#. Login to Heroku CLI on the command line and follow instructions::
4251
4352
heroku login
4453
4554
46-
#. If you haven't already, get a clone of the bedevere repo
47-
48-
::
55+
#. If you haven't already, get a clone of the bedevere repo::
4956
5057
git clone [email protected]:python/bedevere.git
5158
52-
Or, using `GitHub CLI`_
53-
54-
::
59+
Or, using `GitHub CLI`_::
5560
5661
gh repo clone python/bedevere
5762

58-
#. From the ``bedevere`` directory, add the ``bedevere`` Heroku app as remote branch
59-
60-
::
63+
#. From the ``bedevere`` directory, add the ``bedevere`` Heroku app as remote branch::
6164
6265
heroku git:remote -a bedevere
6366
6467
65-
#. From the ``bedevere`` directory, push to Heroku
66-
67-
::
68+
#. From the ``bedevere`` directory, push to Heroku::
6869
6970
git push heroku main
7071

0 commit comments

Comments
 (0)