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

Commit 269a2ed

Browse files
committed
ci(netlify): remove Netlify check for build script
Signed-off-by: Jonah Snider <[email protected]>
1 parent 8a3b99d commit 269a2ed

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

build.sh

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
#!/bin/bash
22

3-
if [ -z "$NETLIFY" ]
4-
then
5-
echo "Running Netlify specific setup"
6-
restore_home_cache ".cache" "pip cache"
7-
restore_cwd_cache '.venv' 'python virtualenv'
8-
pip install -q poetry
9-
poetry config settings.virtualenvs.in-project true
10-
poetry install
11-
else
12-
echo "Not running in Netlify"
13-
fi
3+
echo "Running Netlify setup, cancel now if you are running locally"
4+
pip install -q poetry
5+
poetry config settings.virtualenvs.in-project true
6+
poetry install
147

158
echo "Cloning bot repository"
169
git clone https://github.com/dice-discord/bot.git --depth 1

0 commit comments

Comments
 (0)