Created
December 17, 2019 01:40
-
-
Save heshanh/86d00e09033c9a74847ce8f4e6a5a9d4 to your computer and use it in GitHub Desktop.
Bedrock & Sage on elasticbeanstalk
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
commands: | |
create_post_dir: | |
command: "mkdir /opt/elasticbeanstalk/hooks/appdeploy/post" | |
ignoreErrors: true | |
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/post/sage.sh": | |
mode: "000755" | |
owner: root | |
group: root | |
content: | | |
#!/usr/bin/env bash | |
cd /var/app/current/web/app/themes/theme-dir | |
export COMPOSER_HOME=/tmp && /usr/bin/composer.phar self-update | |
composer.phar install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment