Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.22 KB

File metadata and controls

26 lines (17 loc) · 1.22 KB

AutoCICD

Setup CI/CD using Github Actions and deploy to ec2 t2-micro instance.

NOTE: This only works for NestJS, NextJS, NodeJS, Java Springboot and Strapi projects

Usage

Mostly you will need to edit files in config folder, providing credentials. Sometimes optionally you might need to edit files in workflows folder to update workflow files / deployment scripts depending on need.

Description of Config Files

  • config
    • aws.py -> AWS Credentias: ACCESS KEY ID and SECRET ACCESS KEY for an IAM user with access to EC2
    • general.py -> General info required: type of project (nest/next/node/springboot/strapi) and github private SSH key file location
    • repository.py -> Repository details: URL/Location of repo

These are the required config variables are required to be set but rest can be changed on a per need basis.

Requirements to run this project

  • Python should be available and required packages should be installed
  • AWS CLI should be installed
  • Git should be installed