Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
Update ZMediumToMarkdown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 authored Jan 17, 2025
1 parent c456d48 commit eac5115
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ZMediumToMarkdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,13 @@ name: ZMediumToMarkdown
on:
workflow_dispatch:
schedule:
- cron: "10 1 * * *" # At 01:10 on every day.
- cron: "10 1 15 * *" # At 01:10 on day-of-month 15.

jobs:
ZMediumToMarkdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run read-yaml action
id: yaml-data
uses: jbutcher5/read-yaml@main
with:
file: './_zmediumtomarkdown.yml'
key-path: '["medium_username"]'
- name: Display read-yaml output
run: echo "mediume_username ${{ steps.yaml-data.outputs.data }}"
- name: ZMediumToMarkdown Automatic Bot
if: steps.yaml-data.outputs.data != ''
uses: ZhgChgLi/ZMediumToMarkdown@main
with:
command: "-j ${{ steps.yaml-data.outputs.data }}"
command: "-j YOUR_MEDIUM_USERNAME"

0 comments on commit eac5115

Please sign in to comment.