You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovered this issue when I was trying to set up the deployment of the Stockpile on Firebase.
I had modified src/utils/config.js file on my local repo with my Adobe Stock API key.
I did not commit the changes in src/utils/config.js because I did not want to my Adobe Stock API key to be stored in the repository.
When I used npm run build to create the production build of the App for deployment on Firebase, it did not use my uncommitted version of src/utils/config.js, the build script used the last committed version of src/utils/config.js which contains a placeholder value for the Adobe Stock API key.
To get around this issue, I had to create a local branch and commit my modified src/utils/config.js before running npm run build to get the production build of the App to use my Adobe Stock API key.
The text was updated successfully, but these errors were encountered:
This will run `git update-index --skip-worktree ./src/utils/config.js`
after `npm install`.
This keeps the local changes in `./src/utils/config.js` (such as ones
API KEY) from being tracked and accidentally uploaded to GitHub, etc.
This might help with #16, but it isn't a complete solution.
Discovered this issue when I was trying to set up the deployment of the Stockpile on Firebase.
I had modified
src/utils/config.js
file on my local repo with my Adobe Stock API key.I did not commit the changes in
src/utils/config.js
because I did not want to my Adobe Stock API key to be stored in the repository.When I used
npm run build
to create the production build of the App for deployment on Firebase, it did not use my uncommitted version ofsrc/utils/config.js
, the build script used the last committed version ofsrc/utils/config.js
which contains a placeholder value for the Adobe Stock API key.To get around this issue, I had to create a local branch and commit my modified
src/utils/config.js
before runningnpm run build
to get the production build of the App to use my Adobe Stock API key.The text was updated successfully, but these errors were encountered: