shipfe 0.1.2 → 0.1.3
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.
- package/README.md +21 -0
- package/bin/shipfe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,27 @@ Edit `shipfe.config.json` to configure your deployment settings:
|
|
|
59
59
|
}
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
### Authentication
|
|
63
|
+
|
|
64
|
+
Shipfe supports multiple SSH authentication methods (tried in order):
|
|
65
|
+
|
|
66
|
+
1. **Password authentication**: Set `password` in server config
|
|
67
|
+
2. **SSH Private Key from environment**: Set `SSH_PRIVATE_KEY` environment variable
|
|
68
|
+
3. **SSH Key file**: Set `key_path` in server config
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Using password (in config)
|
|
72
|
+
shipfe deploy --profile dev
|
|
73
|
+
|
|
74
|
+
# Using SSH private key from environment
|
|
75
|
+
export SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)"
|
|
76
|
+
shipfe deploy --profile dev
|
|
77
|
+
|
|
78
|
+
# Using SSH key file (in config)
|
|
79
|
+
# Set "key_path": "/path/to/private/key" in server config
|
|
80
|
+
shipfe deploy --profile dev
|
|
81
|
+
```
|
|
82
|
+
|
|
62
83
|
## Features
|
|
63
84
|
|
|
64
85
|
- Multiple environment support
|
package/bin/shipfe
CHANGED
|
Binary file
|