-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to per-environment CodeDeploy configs
This will solve the problem of staging deploying to production. Toward #755.
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 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
File renamed without changes.
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,22 @@ | ||
version: 0.0 | ||
os: linux | ||
files: | ||
- source: ./ | ||
destination: /var/www/staging.richmondsunlight.com/ | ||
file_exists_behavior: OVERWRITE | ||
permissions: | ||
- object: /var/www/staging.richmondsunlight.com/ | ||
owner: ubuntu | ||
group: ubuntu | ||
mode: 755 | ||
acls: | ||
- "d:u::rwx" | ||
- "d:g::rwx" | ||
- "d:o::rwx" | ||
type: | ||
- directory | ||
hooks: | ||
BeforeInstall: | ||
- location: deploy/predeploy.sh | ||
AfterInstall: | ||
- location: deploy/postdeploy.sh |