forked from usnistgov/pfhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
staticman.yml
22 lines (22 loc) · 937 Bytes
/
staticman.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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: "PFHub Upload: {options.simulation_name}"
pullRequestBody: "This a new PFHub upload\n\nTo review:\n\n- Wait for the tests to pass.\n\n- Go to http://random-cat-{pull-request-number}.surge.sh/simulations/{simulation_name}\n\n"
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"