-
Notifications
You must be signed in to change notification settings - Fork 42
/
staticman.yml
23 lines (23 loc) · 1.02 KB
/
staticman.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
# Name of the property. You can have multiple properties with completely
# different config blocks for different sections of your site.
# For example, you can have one property to handle comment submission and
# another one to handle posts.
simulations:
allowedFields: ["benchmark", "metadata", "data"]
allowedOrigins: ["localhost", "pages.nist.gov"]
branch: "master"
commitMessage: "upload: {options.simulation_name}"
pullRequestBody: "This a new PFHub upload.\n\nWait for the tests to pass and a comment with a link to view the upload display will appear below.\n\nupload: {options.simulation_name}\nbenchmark_id: {fields.benchmark.id}.{fields.benchmark.version}\ngithub_id: {fields.metadata.author.github_id}"
filename: "meta"
extension: "yaml"
format: "yaml"
moderation: true
name: "https://pages.nist.gov/pfhub/"
path: "_data/simulations/{options.simulation_name}"
requiredFields: ["benchmark", "metadata", "data"]
generatedFields:
date:
type: date
options:
format: "timestamp-seconds"