File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 48
48
filename=$(basename "$file" .md)
49
49
echo "🚀 Convert $file to Qiita format"
50
50
if [[ "$file" != articles/* ]]; then
51
- echo "invalid file path: $file"
51
+ echo "⚠️ invalid file path: $file"
52
52
if [[ -f "qiita/public/$filename.md" ]]; then
53
53
echo "delete qiita/public/$filename.md cuz it's not included in articles/"
54
54
rm "qiita/public/$filename.md"
63
63
fi
64
64
65
65
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/$file .md"
66
+ ./node_modules/.bin/ts-node --project ${{ github.action_path }}/tsconfig.json ${{ github.action_path }}/scripts/ztoq.tsx "$file" "./qiita/public/$filename .md"
67
67
done
68
68
shell : bash
69
69
if : steps.files.outcome == 'success'
You can’t perform that action at this time.
0 commit comments