File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ cp ./now.json ./output/dev
5
5
name=" dojo.widgets"
6
6
7
7
if [ " $TRAVIS_PULL_REQUEST " != " false" ] ; then
8
- nowurl=$( npx now ./output/dist --token=$PUBLIC_NOW_TOKEN --public --name=$name )
8
+ nowurl=$( npx now ./output/dist --token=$PUBLIC_NOW_TOKEN --public --name=$name --confirm )
9
9
if [ " $nowurl " = " " ] ; then
10
10
echo " Now deployment failed"
11
11
exit 1
12
12
fi
13
13
14
14
echo " * Docs Deployment: $nowurl " & >> deployments.txt
15
- nowurl=$( npx now ./output/dev --token=$PUBLIC_NOW_TOKEN --public --name=$name )
15
+ nowurl=$( npx now ./output/dev --token=$PUBLIC_NOW_TOKEN --public --name=$name --confirm )
16
16
if [ " $nowurl " = " " ] ; then
17
17
echo " Now deployment failed"
18
18
exit 1
@@ -21,7 +21,7 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
21
21
echo " * Tests Deployment: $nowurl " & >> deployments.txt
22
22
else
23
23
if [ " $TRAVIS_BRANCH " = " master" ] ; then
24
- nowurl=$( npx now ./output/dist --token=$NOW_TOKEN --public --name=$name --scope=dojo --target=production)
24
+ nowurl=$( npx now ./output/dist --token=$NOW_TOKEN --public --name=$name --scope=dojo --target=production --confirm )
25
25
if [ " $nowurl " = " " ] ; then
26
26
echo " Now deployment failed"
27
27
exit 1
You can’t perform that action at this time.
0 commit comments