Skip to content

Commit

Permalink
Merge pull request #85 from oSoc18/develop
Browse files Browse the repository at this point in the history
Merging develop into master
  • Loading branch information
LieselotGeirnaert authored Jul 12, 2018
2 parents 02abf52 + 3c5a103 commit 38277fc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ jobs:
deploy:
machine:
enabled: true
steps:
- deploy:
name: Deploy using SSH keys
command: ssh -o "StrictHostKeyChecking no" $SSH_USER@$SSH_HOST "cd ~/build/SmartFlanders; git pull; git checkout master; npm install; forever stopall; forever start index.js"
steps:
- run: ssh -o "StrictHostKeyChecking no" $SSH_USER@$SSH_HOST "cd ~/build/SmartFlanders; git reset --hard; rm package-lock.json; git pull; git checkout master; npm install; forever stopall; forever start index.js"

workflows:
version: 2
Expand All @@ -45,6 +43,4 @@ workflows:
- deploy:
requires:
- build
filters:
branches:
only: master

0 comments on commit 38277fc

Please sign in to comment.