File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ runs:
3535 - name : Get changed markdown files
3636 id : files
3737 run : |
38- git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep "^articles/.*\.md$" > changed_files.txt
38+ git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep "^articles/.*\.md$" > $GITHUB_WORKSPACE/ changed_files.txt
3939 echo "Changed markdown files:"
40- cat changed_files.txt
40+ cat $GITHUB_WORKSPACE/ changed_files.txt
4141 continue-on-error : true
4242 shell : bash
4343
4444 - name : Convert Zenn articles to Qiita format
4545 run : |
46- for file in $(cat changed_files.txt); do
46+ for file in $(cat $GITHUB_WORKSPACE/ changed_files.txt); do
4747 bash bin/ztoq.sh "$file"
4848 done
4949 shell : bash
5252
5353 - name : Commit converted Qiita articles
5454 run : |
55- rm changed_files.txt
5655 git config --local user.name ${{ github.actor }}
5756 git config --local user.email ${{ github.actor }}@users.noreply.github.com
5857 git add qiita/public/*.md
You can’t perform that action at this time.
0 commit comments