diff --git a/README.md b/README.md index 34d1754..e0ec296 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ Then edit the newly created scheme to make it use a different env file. From the - Click "Pre-actions", and under the plus sign select "New Run Script Action" - Where it says "Type a script or drag a script file", type: ``` - cp ${PROJECT_DIR}/../.env.staging ${PROJECT_DIR}/../.env # replace .env.staging for your file + cp "${PROJECT_DIR}/../.env.staging" "${PROJECT_DIR}/../.env" # replace .env.staging for your file ``` Also ensure that "Provide build settings from", just above the script, has a value selected so that PROJECT_DIR is set.