mirror of
https://github.com/alrayyes/wercker-surge-deploy-step
synced 2023-11-13 18:16:40 +00:00
lets try this
This commit is contained in:
parent
3dc0d409bb
commit
234948238f
4
run.sh
4
run.sh
@ -41,10 +41,12 @@ else
|
|||||||
surge_command="surge"
|
surge_command="surge"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
surge_command ="$surge_command $WERCKER_SURGE_DIRECTORY $WERCKER_SURGE_DOMAIN --token $WERCKER_SURGE_TOKEN"
|
||||||
|
|
||||||
debug "$surge_command"
|
debug "$surge_command"
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
$surge_command public $WERCKER_SURGE_DOMAIN --token $WERCKER_SURGE_TOKEN
|
$surge_command
|
||||||
result="$?"
|
result="$?"
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: surge-deploy
|
name: surge-deploy
|
||||||
version: 0.1.2
|
version: 0.1.3
|
||||||
description: Deploys a directory to surge.sh.
|
description: Deploys a directory to surge.sh.
|
||||||
keywords:
|
keywords:
|
||||||
- deploy
|
- deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user