|
|
|
@ -50,7 +50,7 @@ steps:
|
|
|
|
|
- mkdir -p /outputs/public
|
|
|
|
|
# this sed command will replace the included `profile/dev-config-profile.php` to `profile/prod-config-file.php` in the config.php file.
|
|
|
|
|
- sed -E -i 's/\\/\\*PROFILE_FILE\\*\\/\\s*".*"/"profiles\\/prod-config-profile.php"/' config.php
|
|
|
|
|
- sed -E -i "s/const BASE_PATH = .*;/const BASE_PATH = \"\\/IQBall\\/$DRONE_BRANCH\\/public\";/" profiles/prod-config-profile.php
|
|
|
|
|
- sed -E -i "s/const BASE_PATH = .*;/const BASE_PATH = \"\\/IQBall\\/$DRONE_BRANCH\\/public\";/" profiles/prod-config-profile.php
|
|
|
|
|
- rm profiles/dev-config-profile.php
|
|
|
|
|
- mv src config.php sql profiles vendor /outputs/
|
|
|
|
|
|
|
|
|
|