bcwik9 / semaphore-codedeploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

  • Clone repo
  • Run bundle install and rake db:migrate
  • Setup AWS credentials. http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
  • Go to your AWS, and create a CodeDeploy project with the same name as your project in GitHub
  • Go to your AWS, and create a CodeDeploy deployment group with the same name as your branch in GitHub
  • Go to your GitHub account settings, and create a Personal access token. Write it down
    • export GITHUB_CODEDEPLOY_TOKEN=[key you copied]
  • Go to your Semaphore project, and create a new webhook that has the URL for this server
  • Push code to GitHub, and it should automatically create a CodeDeploy deployment for the project!

About


Languages

Language:Ruby 79.3%Language:HTML 15.3%Language:CSS 2.7%Language:JavaScript 2.1%Language:CoffeeScript 0.7%