add sql folder to CI

pull/6/head
maxime.batista 1 year ago
parent bd8d8a3f61
commit 0b6c0a734c

@ -32,7 +32,7 @@ steps:
- sed -iE 's/\\/\\*PROFILE_FILE\\*\\/\\s*".*"/"profiles\\/prod-config-profile.php"/' config.php - sed -iE 's/\\/\\*PROFILE_FILE\\*\\/\\s*".*"/"profiles\\/prod-config-profile.php"/' config.php
- composer install && composer update - composer install && composer update
- rm profiles/dev-config-profile.php - 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 - image: eeacms/rsync:latest
name: Deliver on staging server branch name: Deliver on staging server branch

@ -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"); touch(__DIR__ . "/.guard");
return $pdo; return $pdo;

Loading…
Cancel
Save