Skip to content

Commit

Permalink
Merge pull request #126 from palantirnet/platformsh-environment
Browse files Browse the repository at this point in the history
Platform.sh environment
  • Loading branch information
becw authored Apr 5, 2019
2 parents 1370bd4 + 634db71 commit 5d38721
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/install/drupal/settings.build-platformsh.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* Drupal settings file template for use on Platform.sh environments.
*/

$config_directories = [];
$config_directories[CONFIG_SYNC_DIRECTORY] = '${drupal.site.config_sync_directory}';

// Enable/disable config_split configurations.
if (isset($_ENV['PLATFORM_BRANCH'])) {
if ($_ENV['PLATFORM_BRANCH'] == 'master') {
Expand Down
1 change: 1 addition & 0 deletions targets/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
<copy todir="${application.startdir}/.platform" overwrite="true">
<fileset dir="${build.thebuild.dir}/defaults/install/.platform" />
</copy>
<httpget url="https://raw.githubusercontent.com/platformsh/template-drupal8/master/.environment" dir="${build.dir}/" />
</case>
<default />
</switch>
Expand Down

0 comments on commit 5d38721

Please sign in to comment.