File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,16 @@ jobs:
4545 echo "Added+Modified:"
4646 echo "${{ steps.added_files.outputs.added_modified }}"
4747
48- # - name: Post new blog to medium
49- # if: ${{ steps.added_files.outputs.added }}
50- # env:
51- # MEDIUM_ID: ${{secrets.MEDIUM_ID}}
52- # MEDIUM_PUBLICATION_ID: ${{secrets.MEDIUM_PUBLICATION_ID}}
53- # MEDIUM_TOKEN: ${{secrets.MEDIUM_TOKEN}}
54- # FILES: ${{ steps.added_files.outputs.added }}
55- # REPOST_SUCCESS_FEISHU_ALERT_URL_TOKEN: ${{secrets.REPOST_SUCCESS_FEISHU_ALERT_URL_TOKEN}}
56- # REPOST_FAILURE_FEISHU_ALERT_URL_TOKEN: ${{secrets.REPOST_FAILURE_FEISHU_ALERT_URL_TOKEN}}
57- # run: |
58- # mv postMedium.md postMedium.js
59- # yarn
60- # node postMedium.js $FILES
48+ - name : Post new blog to medium
49+ if : ${{ steps.added_files.outputs.added }}
50+ env :
51+ MEDIUM_ID : ${{secrets.MEDIUM_ID}}
52+ MEDIUM_PUBLICATION_ID : ${{secrets.MEDIUM_PUBLICATION_ID}}
53+ MEDIUM_TOKEN : ${{secrets.MEDIUM_TOKEN}}
54+ FILES : ${{ steps.added_files.outputs.added }}
55+ REPOST_SUCCESS_FEISHU_ALERT_URL_TOKEN : ${{secrets.REPOST_SUCCESS_FEISHU_ALERT_URL_TOKEN}}
56+ REPOST_FAILURE_FEISHU_ALERT_URL_TOKEN : ${{secrets.REPOST_FAILURE_FEISHU_ALERT_URL_TOKEN}}
57+ run : |
58+ mv postMedium.md postMedium.js
59+ yarn
60+ node postMedium.js $FILES
You can’t perform that action at this time.
0 commit comments