Skip to content

Instantly share code, notes, and snippets.

@mlabouardy
Created October 21, 2017 22:04
Show Gist options
  • Save mlabouardy/b30ca94bf04e9c86016c625923f35046 to your computer and use it in GitHub Desktop.
Save mlabouardy/b30ca94bf04e9c86016c625923f35046 to your computer and use it in GitHub Desktop.
CodeDeploy configuration file
version: 0.0
os: linux
files:
- source: /index.html
destination: /var/www/html/
hooks:
BeforeInstall:
- location: deploy/before_install
timeout: 300
runas: root
AfterInstall:
- location: deploy/restart_server
timeout: 300
runas: root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment