Add custom Netlify CMS build with Gerrit driver

Add modified Netlify CMS config pointing api to Gerrit proxy.

The intent is to test Netlify CMS - Gerrit integration.

Change-Id: I7d52a8a8564223966f4757d62f05c24091c7a8bc
This commit is contained in:
Gabriel Horacio Cutrini 2019-02-07 15:51:38 -03:00
parent eda280d4e2
commit 25de932cc4
4 changed files with 882 additions and 4 deletions

View File

@ -1,8 +1,9 @@
backend:
name: github
repo: StarlingXWeb/starlingx-website
name: gerrit
repo: openstack-infra/netlify-sandbox
branch: master # Branch to update (optional; defaults to master)
publish_mode: editorial_workflow
api_root: "https://proxy.gerritpoc.starlingx.io/api/v1"
#publish_mode: editorial_workflow
media_folder: "site/.vuepress/public/images"
public_folder: "/images"
collections:

View File

@ -7,6 +7,6 @@
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script src="netlify-cms.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long