File tree Expand file tree Collapse file tree 1 file changed +1
-35
lines changed
Expand file tree Collapse file tree 1 file changed +1
-35
lines changed Original file line number Diff line number Diff line change 1818 - name : Clone the nginx/nginx-org repository
1919 run : |
2020 git clone --depth=2 https://github.com/nginx/nginx.org.git dot-org-repo
21- - name : Change for changes in xml/en folder
21+ - name : Check for changes in xml/en folder
2222 id : check_changes
2323 run : |
2424 cd dot-org-repo
3232 echo "No changes in /en"
3333 echo "changed=false" >> $GITHUB_OUTPUT
3434 fi
35-
36- - name : Execute make target 'make hugo-md' to generate markdown
37- if : steps.check_changes.outputs.changed == 'true'
38- run : |
39- cd dot-org-repo
40- make module-markdown
41-
42- move-generated-files :
43- name : Move generated markdown files to '/content/nginx' directory
44- if : needs.detect-changes.outputs.IS_CHANGES_DETECTED
45- needs : detect-changes
46- runs-on : ubuntu-latest
47- steps :
48- - name : Move the generated folder
49- run : |
50- mv dot-org-repo/libxslt-md/ ./content/nginx/
51-
52- close-stale-PRs :
53- name : Close any related stale PRs
54- needs : move-generated-files
55- runs-on : ubuntu-latest
56- steps :
57- - name : Check for any stale PRs
58- id : check-stale-pr
59- run : |
60- "PLACEHOLDER"
61-
62- - name : Close relevant PR if any exists
63- if : steps.check-stale-pr.outputs.IS_STALE_FOUND == 'true'
64- run : |
65- "PLACEHOLDER"
66-
6735
6836 create-PR :
6937 name : Create PR in documentation repository
70- if : needs.detect-changes.outputs.IS_CHANGES_DETECTED
71- needs : close-stale-PRs
7238 runs-on : ubuntu-latest
7339 steps :
7440 - name : Generate the PR
You can’t perform that action at this time.
0 commit comments