gautamkrishnar / blog-post-workflow

Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
https://github.com/marketplace/actions/blog-post-workflow
GNU Affero General Public License v3.0
3.02k stars 269 forks source link

Question: Custom WorkFlow, Fetch Blog Post #213

Closed rafay99-epic closed 1 year ago

rafay99-epic commented 1 year ago

Question: 

So I have my own blog website called Future Insight, and I want to get the latest blog from my website and display it in my GitHub read me file, but it does not seem to be working.

So can you help out?

My Work Flow:

here is the workflow that I am using

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@v3
      - name: Pull Blog Post from Future Insight
        uses: gautamkrishnar/blog-post-workflow@master
        with:
          feed_list: "https://future-insight.blog"

Screen Shots:

Here are some of the Screen Shots of failed run time image

You can checkout my repo as well by clicking here

gautamkrishnar commented 1 year ago

@rafay99-epic https://future-insight.blog is not the link to your website's RSS feed. Please read the documentation: https://github.com/gautamkrishnar/blog-post-workflow#readme

In your case, I am not sure how your website is built. RSS feed URL depends on the framework or CMS. If your website is built from scratch you should write your own code to generate it.