diff --git a/.ebextenstions/commands.config b/.ebextenstions/commands.config deleted file mode 100644 index 1732c15f..00000000 --- a/.ebextenstions/commands.config +++ /dev/null @@ -1,4 +0,0 @@ -commands: - 00_build_sh: - command: ./build.sh - ignoreErrors: false diff --git a/.platform/hooks/prebuild/00_build.sh b/.platform/hooks/prebuild/00_build.sh index 72b91bb7..47cbde35 100755 --- a/.platform/hooks/prebuild/00_build.sh +++ b/.platform/hooks/prebuild/00_build.sh @@ -1,19 +1,16 @@ #!/usr/bin/env bash echo installing yarn - -# install yarn sudo npm install yarn -g -echo link - -# make sure it's in path +echo link yarn sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn +echo install +yarn install + echo gen primsa client prisma generate -echo try to build - -# build it +echo build yarn build \ No newline at end of file