Skip to content

Commit cca1a8d

Browse files
committed
(draft) feat: Add new workflow for detecting changes in dot org
1 parent 43fd0cb commit cca1a8d

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Detect changes in documentation within nginx/nginx.org
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 */23 * * *"
7+
8+
jobs:
9+
clone-repository:
10+
name: Clone nginx/nginx.org repository
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: PLACEHOLDER
14+
run: |
15+
echo "PLACEHOLDER"
16+
17+
detect-changes:
18+
name: Detect changes in 'en' docs of nginx/nginx.org
19+
runs-on: ubuntu-latest
20+
outputs:
21+
IS_CHANGES_DETECTED: ${{ steps.check_changes.outputs.changed }}
22+
steps:
23+
- name: PLACEHOLDER
24+
id: check_changes
25+
run: |
26+
echo "PLACEHOLDER"
27+
28+
execute-make:
29+
name: Execute make target 'make hugo-md'
30+
if: needs.detect-changes.outputs.IS_CHANGES_DETECTED
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: PLACEHOLDER
34+
run: |
35+
echo "PLACEHOLDER"
36+
37+
move-generated-files:
38+
name: Move generated markdown files to '/content/nginx' directory
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: PLACEHOLDER
42+
run: |
43+
echo "PLACEHOLDER"
44+
45+
create-PR:
46+
name: Create PR in documentation repository
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: PLACEHOLDER
50+
run: |
51+
echo "PLACEHOLDER"

0 commit comments

Comments
 (0)