Created
December 13, 2020 09:00
-
-
Save anshajk/cd8e25b67d54f31cd6670ebfbb6248e7 to your computer and use it in GitHub Desktop.
Example appspec.yml for AWS CodeDeploy
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
version: 0.0 | |
os: linux | |
files: | |
- source: /index.html | |
destination: /var/www/html/ | |
hooks: | |
BeforeInstall: | |
- location: scripts/install_dependencies.sh | |
timeout: 300 | |
runas: root | |
- location: scripts/start_server.sh | |
timeout: 300 | |
runas: root | |
ApplicationStop: | |
- location: scripts/stop_server.sh | |
timeout: 300 | |
runas: root | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment