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 4848 filename=$(basename "$file" .md)
4949 echo "🚀 Convert $file to Qiita format"
5050 if [[ "$file" != articles/* ]]; then
51- echo "invalid file path: $file"
51+ echo "⚠️ invalid file path: $file"
5252 if [[ -f "qiita/public/$filename.md" ]]; then
5353 echo "delete qiita/public/$filename.md cuz it's not included in articles/"
5454 rm "qiita/public/$filename.md"
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/$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"
6767 done
6868 shell : bash
6969 if : steps.files.outcome == 'success'
You can’t perform that action at this time.
0 commit comments