vagrant-capistrano-push 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -2
- data/lib/vagrant-capistrano-push/push.rb +1 -0
- data/lib/vagrant-capistrano-push/version.rb +1 -1
- data/locales/en.yml +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b58499cd21a299c8e2bc1974dd564923c67fa9f9
|
4
|
+
data.tar.gz: 283104b3827d83bfbea5bae41865c3d53dc889c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca5678e123f190445df94aa8f2bd22f1607f38deebc59c6eecff525e0485f654293f7ef94f88c003a73d64d1a235eca90a4635775eab13500991757490cc64a
|
7
|
+
data.tar.gz: af8ba239a264715628a918814a90dc7e449f3d882b86433e6ecfca3fe61dbf5f852e1abf9ab64cd7253646f2aee2d329e37c9a17880c313b50564180baf27315
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Vagrant Capistrano Push
|
2
2
|
|
3
|
-
|
3
|
+
Deploy or "push" application code in the same directory as your Vagrantfile to a remote server using [capistrano](http://capistranorb.com/).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -10,7 +10,37 @@ vagrant plugin install vagrant-capistrano-push
|
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
13
|
-
|
13
|
+
```
|
14
|
+
# Vagrantfile
|
15
|
+
config.push.define "staging", strategy: "capistrano" do |push|
|
16
|
+
push.stage = "staging"
|
17
|
+
end
|
18
|
+
|
19
|
+
config.push.define "production", strategy: "capistrano" do |push|
|
20
|
+
push.stage = "production"
|
21
|
+
end
|
22
|
+
```
|
23
|
+
|
24
|
+
And then
|
25
|
+
|
26
|
+
```
|
27
|
+
vagrant push production
|
28
|
+
```
|
29
|
+
|
30
|
+
Or if you are using ENV variables:
|
31
|
+
|
32
|
+
```
|
33
|
+
# Vagrantfile
|
34
|
+
config.push.define "capistrano" do |push|
|
35
|
+
push.stage = ENV["STAGE"]
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
And then
|
40
|
+
|
41
|
+
```
|
42
|
+
vagrant push
|
43
|
+
```
|
14
44
|
|
15
45
|
## Contributing
|
16
46
|
|
data/locales/en.yml
CHANGED