Skip to content

Instantly share code, notes, and snippets.

@raihan71
Last active May 27, 2020 13:21
Show Gist options
  • Save raihan71/051173a64b29812a87f7e833acab1568 to your computer and use it in GitHub Desktop.
Save raihan71/051173a64b29812a87f7e833acab1568 to your computer and use it in GitHub Desktop.
This is how I implemented circleci with vps

Steps to configure circle with vps

CircleCI >> Section

  • Go to circleci[dot]com
  • then login using your favorite git services
  • choose project you want setup
  • start configure circle.yml it will create .circleci/config.yml
  • then you'll see the test failed don't panic becuase it's normal at first

VPS >> Section

    Now let's setup environment variables for securing our key variables
  • Go to server ssh username@youripaddress
  • once you login let's generate key ssh-keygen -t rsa
  • note: if you already generate key you can skip this step
  • after that, let's copy key to our /ssh/authroized_keys
  • accessing running shell script outisde server chmod +x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment