Skip to content

Commit

Permalink
README.md: Add netlify deploy instruction
Browse files Browse the repository at this point in the history
Add instructions of deploying the netlify
on fork of a ``community`` repository.
  • Loading branch information
RaiVaibhav authored and gitmate-bot committed Apr 12, 2018
1 parent bc383fd commit 63833dd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,23 @@
* It uses the [GCI private API](https://developers.google.com/open-source/gci/resources/downloads/TaskAPISpec.pdf)
* __Attention:__ This repository only re-publishes publicly available information
* Uses IGitt, supporting both GitHub & GitLab

## Deploy Netlify on your fork :

Following are the steps to deploy netlify on your forked ``community`` repository :

- Signup on [netlify](https://app.netlify.com/).
- Click on **New site from Git**.
- Choose **Git provider (Github) >** Choose a repository **< username >/community**.
- Branch to deploy **master**.
- Basic build settings :
* Set Build command to **.ci/build.sh**.
* Set Publish directory to **public**.
* Click on **Show advanced >** **New variable** to add the `environment variables`.

After that to set the ``environment variables`` :

- Put **GH_TOKEN** in `Key` column and your generated `GitHub Access Token`
in `Value` column.
- Similarly add other `variables` like **OH_TOKEN, GL_TOKEN** if needed.
- Click on **Deploy Site** to deploy the site.

0 comments on commit 63833dd

Please sign in to comment.