Skip to content

Commit

Permalink
Update create-article-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yknz authored Sep 9, 2024
1 parent c8c18ac commit 23d6cb8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/create-article-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ jobs:

- name: Update author
run: ls -rt source/_posts | tail -n 1 | xargs -I {} python3 -m matteredit update source/_posts/{} --params author=${{ github.event.client_payload.author }}

- name: Get thumbnail filepath
id: thumbnail-filepath
if: ${{ github.event.client_payload.thumbnail_url != '' }}
run: |
thumbnailpath=`ls -rt source/_posts | tail -n 1 | xargs -I {} python3 -m matteredit show source/_posts/{} --param thumbnail | sed -e 's/^/\source/g'`
echo "thumbnailpath=$thumbnailpath" >> $GITHUB_OUTPUT

- name: Download thumbnail
if: ${{ github.event.client_payload.thumbnail_url != '' }}
Expand Down

0 comments on commit 23d6cb8

Please sign in to comment.