@@ -2,8 +2,8 @@ name: Update App Events Data
2
2
3
3
on :
4
4
schedule :
5
- - cron : ' 0 0 * * 1' # Run every Monday at 00:00 UTC
6
- workflow_dispatch : # Allow manual triggering
5
+ - cron : " 0 0 * * 1" # Run every Monday at 00:00 UTC
6
+ workflow_dispatch : # Allow manual triggering
7
7
8
8
jobs :
9
9
update-app-events-data :
12
12
- name : Checkout App Events Generator
13
13
uses : actions/checkout@v4
14
14
15
- - name : Checkout Discourse Core
16
- uses : actions/checkout@v4
17
- with :
18
- repository : discourse/discourse
19
- path : ' discourse'
20
-
21
15
- name : Setup Node.js
22
16
uses : actions/setup-node@v4
23
17
with :
@@ -31,14 +25,20 @@ jobs:
31
25
- name : Install Dependencies
32
26
run : pnpm install
33
27
28
+ - name : Checkout Discourse Core
29
+ uses : actions/checkout@v4
30
+ with :
31
+ repository : discourse/discourse
32
+ path : " discourse"
33
+
34
34
- name : Create .env file
35
35
run : echo "DISCOURSE_CORE=./discourse" > .env
36
36
37
37
- name : Extract App Events
38
- run : node scripts/extract_app_events.mjs
38
+ run : node ./ scripts/extract_app_events.mjs
39
39
40
40
- name : Generate App Events Details Doc
41
- run : node scripts/create_app_events_doc_markdown .mjs
41
+ run : node ./ scripts/create_app_events_docs_markdown .mjs
42
42
43
43
- name : Create Pull Request
44
44
uses : peter-evans/create-pull-request@v7
0 commit comments