Skip to content

Commit d9eceb7

Browse files
committed
always deploy previews in main project, to allow easily deploying previews of new languages without projects
1 parent d8bd676 commit d9eceb7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/deploy_preview.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,4 @@ CHANNEL_NAME=$1
1010

1111
./scripts/build.sh
1212

13-
if [ "$FUTURECODER_LANGUAGE" = "en" ]; then
14-
PROJECT=futurecoder-io
15-
else
16-
PROJECT=futurecoder-${FUTURECODER_LANGUAGE}
17-
fi
18-
19-
firebase --project $PROJECT hosting:channel:deploy $CHANNEL_NAME --expires 28d
13+
firebase --project futurecoder-io hosting:channel:deploy $CHANNEL_NAME --expires 28d

0 commit comments

Comments
 (0)