Commit e8e66ae 1 parent 6f73b78 commit e8e66ae Copy full SHA for e8e66ae
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 25
25
26
26
- name : Create logs directory
27
27
run : |
28
- mkdir -p logs
28
+ mkdir -p docs/ logs
29
29
30
30
- name : Get changed english files
31
31
id : get_changed_markdown_english
@@ -43,21 +43,21 @@ jobs:
43
43
- name : Save JSON file containing files to link check
44
44
run : |
45
45
echo "${{ steps.get_changed_markdown_english.outputs.all_changed_files }}"
46
- echo "${{ steps.get_changed_markdown_english.outputs.all_changed_files }}" > ./logs/prFiles.json
46
+ echo "${{ steps.get_changed_markdown_english.outputs.all_changed_files }}" > ./docs/ logs/prFiles.json
47
47
48
48
- name : Run link checker
49
49
id : link-check
50
50
run : |
51
51
52
- markdown_link_checker_sc -r ${{ github.workspace }} -d en -f ./logs/prFiles.json -i assets -u docs.px4.io/main/ > ./logs/errorsFilteredByPrPages.md
52
+ markdown_link_checker_sc -r ${{ github.workspace }} -d en -f ./docs/ logs/prFiles.json -i assets -u docs.px4.io/main/ > ./docs /logs/errorsFilteredByPrPages.md
53
53
mkdir -p ./pr
54
- cp ./logs/errorsFilteredByPrPages.md ./pr/errorsFilteredByPrPages.md
54
+ cp ./docs/ logs/errorsFilteredByPrPages.md ./pr/errorsFilteredByPrPages.md
55
55
56
56
- name : Read errorsFilteredByPrPages.md file
57
57
id : read-errors-by-page
58
58
uses : juliangruber/read-file-action@v1
59
59
with :
60
- path : ./logs/errorsFilteredByPrPages.md
60
+ path : ./docs/ logs/errorsFilteredByPrPages.md
61
61
62
62
- name : Echo Errors by Page
63
63
run : echo "${{ steps.read-errors-by-page.outputs.content }}"
You can’t perform that action at this time.
0 commit comments