Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

CircleCI builds, tests and deployments

Injectify supports continuous integration via the use of CircleCi. This basically means every time you create a commit to the Injectify repo (whether it be at samdenty99/injectify or forked on your own account), CircleCI will automatically:

  1. Clone the Injectify repo
  2. Verify yarn run test runs without error
  3. If without error, it will automatically deploy over SSH to your VPS
  4. (Optionally) Send Discord webhook messages throught the different stages

Requirements

  • VPS running the Injectify server

CircleCI

  1. Fork this repository to your own GitHub account.
  2. Head over to https://circleci.com/ and login with your GitHub account.
  3. Go over to your projects section
  4. Click on Add Project Add project
  5. Find the Injectify repo and enable it Projects
  6. Select Linux => 2.0 => Node => Start Building Setup Project
  7. Click on the projects settings and under Environment Variables, add the following:
Name Value
webhook (Optional) A Discord webhook URL
  1. Modify .circle.yml and deploy.sh to suit your needs

Environment Variables

Discord integration

If you specify the webhook URL, you'll get build status messages on your Discord server. Refer to Intro to webhooks for help on how to create a webhook. Discord integration screenshot