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:
|
backend:
|
||||||
name: github
|
name: gerrit
|
||||||
repo: StarlingXWeb/starlingx-website
|
repo: openstack-infra/netlify-sandbox
|
||||||
branch: master # Branch to update (optional; defaults to master)
|
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"
|
media_folder: "site/.vuepress/public/images"
|
||||||
public_folder: "/images"
|
public_folder: "/images"
|
||||||
collections:
|
collections:
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
<!-- 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>
|
</body>
|
||||||
</html>
|
</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…
x
Reference in New Issue
Block a user