This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shipit-deploy): Added config so you can rsync including the fold…
…er (#246)
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,11 @@ module.exports = shipit => { | |
deleteOnRollback: false, | ||
key: '/path/to/key', | ||
shallowClone: true, | ||
deploy: { | ||
remoteCopy: { | ||
copyAsDir: false, // Should we copy as the dir (true) or the content of the dir (false) | ||
}, | ||
}, | ||
}, | ||
staging: { | ||
servers: '[email protected]', | ||
|
@@ -176,6 +181,12 @@ Type: `String` | |
|
||
Parameter to pass to `cp` to copy the previous release. Non NTFS filesystems support `-r`. Default: `-a` | ||
|
||
### deploy.remoteCopy.copyAsDir | ||
|
||
Type: `Boolean` _Optional_ | ||
|
||
If `true` - We will copy the folder instead of the content of the folder. Default: `false`. | ||
|
||
## Variables | ||
|
||
Several variables are attached during the deploy and the rollback process: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters