Build Vue website that use Travis CI doing test and deploy to VPS

i build a side project use vue cli

that can easily create a basic frontend web site
with alot morden tools (js lint, unit test, e2e test … etc)

here is some note for trying integration whole project

the workflow is

  1. send a commit to github repo

  2. travis-ci get the repo update then start build task

  3. after task done without error

  4. run deploy shell,

  5. login to vps server use encrypted ssh key

  6. push local tested repo to vps

Read More