-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] DDEV deploy command for dev deployment (#362)
Allows the deployment from local to get.typo3.dev with the new DDEV custom command `ddev deploy`. Before a valid private key must be copied to `.ssh`.
- Loading branch information
1 parent
9b73d66
commit cc16f7d
Showing
4 changed files
with
34 additions
and
29 deletions.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
## Description: Deploy site | ||
## Usage: deploy | ||
## Example: "ddev deploy" | ||
|
||
ddev auth ssh --ssh-key-path .ssh | ||
ddev composer global require --ansi -n --no-progress andres-montanez/magallanes | ||
ddev exec -- mkdir -p ./.mage/logs | ||
ddev composer global exec --ansi -n mage deploy develop | ||
ddev composer install --ansi -n --no-progress |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/.ddev/docker-compose.tmpfs.yaml | ||
/.idea/ | ||
/.mage/ | ||
/.vscode/ | ||
/public/p/ | ||
/public/p2/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/* | ||
!/.gitignore |