Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Commit c19a355

Browse files
committed
build: fix build script Netlify check
Signed-off-by: Jonah Snider <[email protected]>
1 parent 427d356 commit c19a355

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/bash
22

33
if [ -z "$NETLIFY" ]
4+
then
45
echo "Running Netlify specific setup"
56
restore_home_cache ".cache" "pip cache"
67
restore_cwd_cache '.venv' 'python virtualenv'
78
pip install -q poetry
89
poetry config settings.virtualenvs.in-project true
910
poetry install
10-
then
11+
else
1112
echo "Not running in Netlify"
1213
fi
1314

0 commit comments

Comments
 (0)