You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-23Lines changed: 40 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,45 +46,62 @@ module.exports = {
46
46
47
47
```
48
48
49
+
## Directory Structure ##
49
50
50
-
> This project is based on this great repo: https://github.com/treyhunner/ember-deploy-ssh-index. Though, it's been modified to be serve a different purpose, lets give credit to where credit is due. On a related note, bug fixes and improvements will be pulled from upstream whenever possible.
51
+
The following directory structure is created on your server. The basic gist is that your revisions will be stored inside of their own directory along with meta data about the revision (date of commit, commit message, author of the commit, and commit hash). Information about your revisions is viewable via the following command `ember deploy:list -e <your environment>`.
51
52
52
-
## Directory Structure ##
53
+
**List revisions**
53
54
54
-
The following directory structure is created on your server. The basic gist is that your revisions will be stored inside of their own directory along with meta data about the revision (date of commit, commit message, author of the commit, and commit hash). Information about your revisions is viewable via the following command `ember deploy:list -e <your environment>`. Output will look like this:
55
+
```sh
56
+
$ ember deploy:list -e staging
57
+
```
55
58
56
59
```sh
57
60
58
61
The following revisions were found:
59
62
60
-
Revision: f6b1807
61
-
Date: Fri May 1 02:16:12 2015 -0400
62
-
Commit: f6b180782c123bbf3ee8e8b0e935301b674e5f10
63
-
Update comments in Brocfile for better documentation.
index.html --> /revision:abc123/index.html # Active symlink
96
+
index.html --> abc123/index.html # Active symlink
97
+
98
+
```
99
+
100
+
**Activate revision**
101
+
102
+
```sh
103
+
$ ember deploy:activate -e staging -r <revisionId>
104
+
```
105
+
89
106
90
-
```
107
+
> This project is based on this repo: https://github.com/treyhunner/ember-deploy-ssh-index. Though, it's been heavily modified to serve a different purpose -credit where credit is due.
0 commit comments