Add webhook to circleci --5
parent
97f7cf6fde
commit
ff8c114b89
|
@ -53,7 +53,14 @@ jobs:
|
|||
CYPRESS_baseUrl: http://embauche.beta.gouv.fr
|
||||
steps:
|
||||
- run: npm install --save-dev cypress
|
||||
- run: ./node_modules/.bin/cypress run --record --key 21660df5-36a5-4c49-b23d-801799b0c759
|
||||
- run: |
|
||||
if ./node_modules/.bin/cypress run --record --key 21660df5-36a5-4c49-b23d-801799b0c759;
|
||||
then
|
||||
echo "SUCCESS \o/"
|
||||
else
|
||||
curl https://hooks.zapier.com/hooks/catch/3746650/qsp818/;
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
|
Loading…
Reference in New Issue