Skip to content

Commit

Permalink
💚 Define ENV outsite of script
Browse files Browse the repository at this point in the history
  • Loading branch information
koeeenig committed Nov 21, 2023
1 parent c2fff46 commit 943afe6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ yum -y install wget tar gzip libicu
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --version latest
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
dotnet --version
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"buildCommand": "dotnet build ./src/BlazeKit.Site -c Release ; dotnet publish ./src/BlazeKit.Site -c Release",
"installCommand": "chmod +x ./install.sh ; ./install.sh",
"installCommand": "chmod +x ./install.sh ; ./install.sh; export DOTNET_ROOT=$HOME/.dotnet ; export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools ; dotnet --version",
"outputDirectory": ".vercel/output/static",
"rewrites": [
{
Expand Down

0 comments on commit 943afe6

Please sign in to comment.