We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c755a36 commit 8594bdbCopy full SHA for 8594bdb
1 file changed
.github/workflows/generate_raw_content.yml
@@ -0,0 +1,32 @@
1
+name: Generate Raw Content JSON
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [main]
7
+ paths:
8
+ - "scripts/generate_raw_content.rb"
9
+ - "content_catalog.json"
10
+ - "**/*.md"
11
12
+jobs:
13
+ generate-raw-content:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Ruby
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ ruby-version: "3.3"
24
25
+ - name: Generate raw_content.json
26
+ run: ruby scripts/generate_raw_content.rb
27
28
+ - name: Upload artifact
29
+ uses: actions/upload-artifact@v4
30
31
+ name: raw-content-json
32
+ path: raw_content.json
0 commit comments