Skip to content

Commit

Permalink
Use sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
mottox2 committed Jun 27, 2024
1 parent 9033f50 commit 3d0df33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ jobs:
- name: Install md2review gem
run: gem install md2review
- name: Convert MD to Re:VIEW
run: |
cd src
for file in *.md; do
md2review "$file" > "${file%.md}.re"
done
run: sh convert-markdown.sh
- name: Show review files
run: ls src/*.re
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions convert-markdown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
for file in `ls ./src/*.md`
do
echo "Converting $file to ${file%.md}.re"
cat "$file" > "${file%.md}.re"
done

0 comments on commit 3d0df33

Please sign in to comment.