-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
moose/.github/workflows/deploy-dev.yml
Lines 42 to 46 in 2853d72
| # Create local config for environment based settings | |
| - name: Create local config | |
| run: | | |
| php -r "file_exists( 'local-config.php' ) || copy( 'local-config-sample.php', 'local-config.php' );" | |
| echo "define( 'WP_ENVIRONMENT_TYPE', ${{ env.ENVIRONMENT }} );" >> local-config.php |
local-config-sample.php already defines WP_ENVIRONMENT_TYPE, and this step attempts to define it again, after the existing definition. Is this step necessary?
Metadata
Metadata
Assignees
Labels
No labels