diff --git a/entrypoint.sh b/entrypoint.sh index 413ae59..03af51a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,9 @@ export HOME="/github/workspace" export NVM_DIR="/github/workspace/nvm" export WRANGLER_HOME="/github/workspace" +mkdir -p "$HOME/.wrangler" +chown root: "$HOME/.wrangler" + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion