Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.75 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.75 KB

Continuous Integration from GitHub

Introduction

This tutorial will show you how to set up continuous deployment of your ruby website from github.

Prerequisites

  1. A personal GitHub account
  2. A github repository containing a ruby application that works in production mode. (You can just fork the tutorial example instead if you don't want to go about creating a new ruby application)

Steps

  1. This tutorial will be using a repo named Hamster-Huey/ruby-splash. This is a basic ruby site that serves a modified version of the Azure App Service splash page. Fork this repository to repro this tutorial exactly.

1

  1. Go to the azure portal and click new and choose Web App on Linux

2 3

  1. Set up your new website making sure to choose ruby 2.3 container

4

  1. Wait for the site creation to complete. Navigate to your new site's blade in the portal and look on the sidebar to click on deployment options

5

  1. For Deployment source choose Github Repository

6 7

  1. Configure your deployment source to your GitHub accountn and private project repository. Here's an example:

8 9

  1. Your deployment options blade may look like this:

10

Click sync to kick off a sync/build of your ruby site.

11

  1. Wait for the deployment to finish

12

  1. Navigate to your site's url. You may have to wait a couple minutes as the container starts, but in the end you should see this page:

13