How to trigger deploy command after test?

When test done. I want CI to run the file ./

This is my circle.yaml

  production: # just a label; label names are completely up to you
    branch: master
      - ./

This is my

npm run release
scp -r -P 2222 ./dist/production/* thatilike@

Problem: CI doesn’t do aything after the tests success. It doesn’t show deploy fail or anything like that. what should I do to make CI run file after the tests?

This screenshot below is all it got after test

the problem is my config file circle.yaml which wrong, it should be circle.yml, therefor circle CI couldn’t read my deploy command.

1 Like

Thank you for following up @craigcosmo and sorry for the confusion!