Youssef Touggani 6 years ago
parent
commit
86de64e1a3
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -54,7 +54,7 @@ jobs:
at: /tmp at: /tmp
- run: - run:
name: Deploy app name: Deploy app
command: npx netlify-cli deploy --prod --dir /tmp/server-doc --message "site deployed from circle ci" --site 0bdd875a-a10f-438b-919e-c0a78d6e3adc
command: npx netlify-cli deploy --prod --dir /tmp/server-doc --message "site deployed from circle ci" --site $NETLIFY_API_KEY
back-test-unit: back-test-unit:
docker: docker:
- image: circleci/node:dubnium-browsers - image: circleci/node:dubnium-browsers
@ -101,7 +101,7 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: git push https://heroku:ce43f66e-6842-4fe8-ab4f-37ae8833ea0f@git.heroku.com/fierce-atoll-83490.git HEAD:main
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: ./dep_heroku.sh command: ./dep_heroku.sh

Loading…
Cancel
Save