You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Name of conda environment to activate (NO LONGER USED)'
8
-
required: false
9
-
default: 'cookbook-dev'
10
-
type: string
11
-
environment_file:
12
-
description: 'Name of conda environment file'
13
-
required: false
14
-
default: 'environment.yml'
15
-
type: string
16
-
path_to_notebooks:
17
-
description: 'Location of the JupyterBook source relative to repo root'
18
-
required: false
19
-
default: '.'
20
-
type: string
21
-
artifact_name:
22
-
description: 'The name to assign to the built book artifact.'
23
-
required: false
24
-
default: 'book-zip'
25
-
type: string
26
-
build_command:
27
-
description: 'The linux command to build the book or site.'
28
-
required: false
29
-
default: 'myst build --execute --html'
30
-
type: string
31
-
output_path:
32
-
description: 'Path to the built html content relative to `path_to_notebooks`'
33
-
required: false
34
-
default: '_build/html'
35
-
type: string
36
-
build_from_code_artifact:
37
-
description: 'Should we try to build from a previously uploaded code artifact?'
38
-
required: false
39
-
default: 'false'
40
-
type: string
41
-
code_artifact_name:
42
-
description: 'Name of zipped artifact passed in, instead of checking out the repository.'
43
-
required: false
44
-
default: 'code-zip'
45
-
type: string
46
-
workflow:
47
-
description: 'Identify the workflow that produced the artifact'
48
-
required: false
49
-
default: trigger-book-build.yaml
50
-
type: string
51
-
workflow_conclusion:
52
-
description: 'Workflow conclusion (options: "failure", "success", "neutral", "cancelled", "skipped", "timed_out", "action_required") or status (options: "completed", "in_progress", "queued") to search for. Use the empty string ("") to ignore status or conclusion in the search.'
53
-
required: false
54
-
default: success
55
-
type: string
56
-
base_url:
57
-
description: 'Determines where the website is served from, including CSS & JS assets (needed for MyST)'
58
-
required: false
59
-
default: '/${{ github.event.repository.name }}'
60
-
type: string
61
-
62
-
secrets:
63
-
PRIVATE_KEY:
64
-
description: 'Google analytics key needed for metrics page on portal site'
65
-
required: false
66
-
PRIVATE_KEY_ID:
67
-
description: 'Google analytics key id needed for metrics page on portal site'
68
-
required: false
69
-
ARM_USERNAME:
70
-
description: 'Username for the ARM Data Discovery portal (https://adc.arm.gov/armlive/)'
71
-
required: false
72
-
ARM_PASSWORD:
73
-
description: 'Password for the ARM Data Discovery portal (https://adc.arm.gov/armlive/)'
74
-
required: false
75
-
AQS_USERNAME:
76
-
description: 'Username for the AQS Data Portal'
77
-
required: false
78
-
AQS_KEY:
79
-
description: 'Key for the AQS Data Portal'
80
-
required: false
81
-
EARTHDATA_USERNAME:
82
-
description: 'NASA Earthdata API Username'
83
-
required: false
84
-
EARTHDATA_PASSWORD:
85
-
description: 'NASA Earthdata API Password'
86
-
required: false
87
-
88
-
env:
89
-
# the BASE_URL environment variable needs to be set if building with myst
90
-
BASE_URL: ${{ inputs.base_url }}
91
5
92
6
jobs:
93
7
build:
@@ -96,172 +10,69 @@ jobs:
96
10
run:
97
11
shell: bash -leo pipefail {0}
98
12
steps:
99
-
- name: Checkout the code from the repo
100
-
if: inputs.build_from_code_artifact == 'false'
101
-
uses: actions/checkout@v6
102
-
103
-
# The next two steps should replicated checking out the code
0 commit comments