FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
github-docs/.github/workflows/all-documents.yml at main · ab/github-docs · GitHub
ab
/
github-docs
Public
forked from
github/docs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
github-docs
/
.github
/
workflows
/
all-documents.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
42 lines (33 loc) · 1.12 KB
Breadcrumbs
github-docs
/
.github
/
workflows
/
all-documents.yml
Copy path
File metadata and controls
42 lines (33 loc) · 1.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name
:
All documents script
#
**What it does**: Verifies that the all-documents script works.
#
**Why we have it**: Code quality and sustainability.
#
**Who does it impact**: docs-engineering
on
:
pull_request
:
paths
:
-
'
src/content-render/scripts/all-documents/**
'
-
'
package*.json
'
-
.github/workflows/all-documents.yml
permissions
:
contents
:
read
jobs
:
all-documents-script
:
if
:
github.repository == 'github/docs-internal'
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out repo
uses
:
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
#
v4.2.2
-
uses
:
./.github/actions/node-npm-setup
-
name
:
Run all-documents script
env
:
NODE_ENV
:
production
run
:
|
echo "Help..."
npm run all-documents -- --help
echo ""
echo "Storing in a file (English only)"
npm run all-documents -- -o all-documents.json -l en
echo ""
echo "Look at the first 50 lines of the file..."
cat all-documents.json | jq | head -n 50
# We're essentially expecting it to not crash and fail.
Back
|
FazBrowse Home
|
New Git URL