Skip to content

Commit 72239c5

Browse files
committed
🐛 fix: add --files option
1 parent 204ba89 commit 72239c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ runs:
3737
id: files
3838
run: |
3939
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep "^articles/.*\.md$" > $GITHUB_WORKSPACE/changed_files.txt
40-
echo "Changed markdown files:"
40+
echo "📋 Changed markdown files:"
4141
cat $GITHUB_WORKSPACE/changed_files.txt
4242
continue-on-error: true
4343
shell: bash
@@ -63,7 +63,7 @@ runs:
6363
fi
6464
6565
echo "🚚 Convert $file to qiita/public/$filename.md"
66-
./node_modules/.bin/ts-node --project ${{ github.action_path }}/tsconfig.json ${{ github.action_path }}/scripts/ztoq.tsx "$file" "./qiita/public/$filename.md"
66+
./node_modules/.bin/ts-node --files --project ${{ github.action_path }}/tsconfig.json ${{ github.action_path }}/scripts/ztoq.tsx "$file" "./qiita/public/$filename.md"
6767
done
6868
shell: bash
6969
if: steps.files.outcome == 'success'

0 commit comments

Comments
 (0)