Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid sed for netlify-build due to osx support #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

josephwegner
Copy link

sed is a little bit finicky depending on your platform and shell. On OS X with zsh, the netlify-build command fails because it is using sed to insert the DAILY_API_KEY into netlify.toml. The error would be:

extra characters at the end of n command.

It's not as clean sed, but this PR used perl to do the replacement instead.

This PR also installs dotenv-cli so that we can pull variables directly out of .env. Right now I believe it just expects DAILY_API_KEY to be exported in the shell.

@netlify
Copy link

netlify bot commented Jul 14, 2021

👷 Deploy request for call-object-react accepted.

🔨 Explore the source changes: 087738c

🔍 Inspect the deploy log: https://app.netlify.com/sites/call-object-react/deploys/60ef3209a08ff500079f4ddd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant