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:
parent
eda280d4e2
commit
25de932cc4
@ -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:
|
||||
|
@ -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>
|
876
site/.vuepress/public/admin/netlify-cms.js
Normal file
876
site/.vuepress/public/admin/netlify-cms.js
Normal file
File diff suppressed because one or more lines are too long
1
site/.vuepress/public/admin/netlify-cms.js.map
Normal file
1
site/.vuepress/public/admin/netlify-cms.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user