diff --git a/.circleci/config.yml b/.circleci/config.yml index 857f466a..af74758b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,14 +1,10 @@ -version: 2 +version: 2 jobs: build: - docker: # tircleci/node:10.0.0 # the primary container, where your job's commands are run - - image: circleci/node:10.0.0 # run in the background + docker: # tircleci/node:10.0.0 # the primary container, where your jobs are run + - image: circleci/node:10.0.0 #run in the background steps: - - checkout # check out the code in the project directory - - run: npm install - - run: npm start & - - run: npm test - - deploy: - name: digital-ocean - command: ssh -o "StrictHostKeyChecking no" root@167.71.166.254"cd ~/circleciexpress; git pull; npm install; npm start &" - \ No newline at end of file + - checkout #check out the code in the project directory + - run: npm install + - run: npm start & + - run: npm test