From 90c9d159f419a32d3d2ac7a7afc4ec0737b187be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5?= Date: Fri, 17 Jan 2025 03:38:03 +0900 Subject: [PATCH] Create blog-post-workflow.yml --- .github/workflows/blog-post-workflow.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/blog-post-workflow.yml diff --git a/.github/workflows/blog-post-workflow.yml b/.github/workflows/blog-post-workflow.yml new file mode 100644 index 0000000..7b50577 --- /dev/null +++ b/.github/workflows/blog-post-workflow.yml @@ -0,0 +1,19 @@ +name: Latest blog post workflow +on: + schedule: # Run workflow automatically + - cron: '0 * * * *' # Runs every hour, on the hour + workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the GitHub Actions Workflow page directly +permissions: + contents: write # To write the generated contents to the readme + +jobs: + update-readme-with-blog: + name: Update this repo's README with latest blog posts + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Pull in dev.to posts + uses: gautamkrishnar/blog-post-workflow@v1 + with: + feed_list: "https://blog.imnya.ng/rss.xml"