We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e511ef commit 65adf1fCopy full SHA for 65adf1f
netlify.bash
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+# Prepares the Netlify preview
3
+: ${REDIS_STACK_REPOSITORY:="github.com/redis-stack/redis-stack-website"}
4
+if [[ -n $PRIVATE_ACCESS_TOKEN ]]; then
5
+ REDIS_STACK_REPOSITORY="$PRIVATE_ACCESS_TOKEN@$REDIS_STACK_REPOSITORY"
6
+fi
7
+repo_dir=$(pwd)
8
+
9
+rm -rf website
10
+git clone --recurse-submodules https://$REDIS_STACK_REPOSITORY website
11
+cd website
12
+REPO_DIR=$repo_dir REPOSITORY_URL=$REPOSITORY_URL PREVIEW_MODE=1 make deps netlify
0 commit comments