Add webhook to circleci --5

pull/335/head
Johan Girod 2018-09-06 19:35:42 +02:00
parent 97f7cf6fde
commit ff8c114b89
1 changed files with 8 additions and 1 deletions

View File

@ -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