Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
Changes
Page history
checkout deployment before push to dokku
authored
Nov 16, 2015
by
jon r
Show whitespace changes
Inline
Side-by-side
_deployment.md
View page @
30416655
...
@@ -106,9 +106,14 @@ dokku config dbp2016_live
...
@@ -106,9 +106,14 @@ dokku config dbp2016_live
```
```
git clone https://lab.allmende.io/ecobytes/dbp2016.git
git clone https://lab.allmende.io/ecobytes/dbp2016.git
cd dbp2016
git remote add dokku dokku:apps.ecobytes.net:dbp2016_live
git remote add dokku dokku:apps.ecobytes.net:dbp2016_live
git fetch
git checkout deployment
```
```
You should use the 'deployment' branch as a staging area for your revision, preferably tested before in an intependent Dokku instance.
## Go live!
## Go live!
git push dokku deployment:master
git push dokku deployment:master
...
...