diff --git a/ci/.drone.yml b/ci/.drone.yml index e4380db..f3d2b4f 100644 --- a/ci/.drone.yml +++ b/ci/.drone.yml @@ -32,7 +32,7 @@ steps: - sed -iE 's/\\/\\*PROFILE_FILE\\*\\/\\s*".*"/"profiles\\/prod-config-profile.php"/' config.php - composer install && composer update - rm profiles/dev-config-profile.php - - mv src config.php profiles vendor /outputs/ + - mv src config.php sql profiles vendor /outputs/ - image: eeacms/rsync:latest name: Deliver on staging server branch diff --git a/sql/database.php b/sql/database.php index 00a9188..8f445bc 100644 --- a/sql/database.php +++ b/sql/database.php @@ -23,6 +23,8 @@ function get_database() } } + //FIXME Server will need to explicitly set permissions to the `sql` folder + // in order for the touch to work touch(__DIR__ . "/.guard"); return $pdo;