あなたのGithubプロフィールReadmeにあなたの最近公開された記事を加える方法🤖


あなたはgithubにあなたの記事を披露したいですか?🤭
あなたがはいと言うならば、あなたは適切な場所にいます.この記事の最後までに、あなたはあなたのGithubプロフィールReadMeに記載されている最新記事を持っています.

📌 TL;DR - Before we begin, You must have your GitHub account and make sure you've created your GitHub profile. If not, you can check this article by .


🏃🏼始めましょう!!!


💡 If you're new to GitHub Actions, go check out the official documentation.


私たちはblog-post-workflow リトルビッグプラネット™2でアップロードgithub action .

🤔 どのようにこのgithubアクションを使用するには?

  • あなたのgithubプロフィールを見てください
  • https://github.com/{USER-NAME}/{USER-NAME}
    
  • 次のセクションをReadMeに追加する必要があります.MDファイル
  • # 📩 Latest Blog Posts // You can name it whatever you want.
    <!-- BLOG-POST-LIST:START -->
    <!-- BLOG-POST-LIST:END -->
    
  • さて、フォルダを作成する.github ルートディレクトリの中でworkflows . 今、内部workflows ディレクトリを作成するYAML ファイルblog-post-workflow.yml . これはフォルダ構造がどのように見えるかです.
  • .github 
       └───workflows
                blog-post-workflow.yml
    
  • 次のコンテンツをblog-post-workflow.yml ファイル
  • name: Latest blog post workflow
    on:
        schedule: # Run workflow automatically
          # This will make it run every hour
          - cron: '0 * * * *' 
         # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly
        workflow_dispatch: 
    jobs:
        update-readme-with-blog:
          name: Update this repo's README with latest blog posts
          runs-on: ubuntu-latest
          steps:
            - uses: actions/checkout@v2
            - uses: gautamkrishnar/blog-post-workflow@master
              with:
                # Replace this URL with your rss feed URL/s
                feed_list: "https://iamdarshshah.hashnode.dev/rss.xml"
    
  • コードをコミットし、アクションを自動的に実行するのを待つか、手動でトリガする手順を示します.
  • クリックActions :
  • さて、Latest blog post workflow :
  • 次に、Run workflow Githubアクションをトリガーするには、次の手順に従います.
  • NOTE: You can add any popular blogging platform's RSS feed URL. (List of Platforms)


    これです!私たちはそれをした.🎉
    今、あなたはあなたの最新の公開された記事を一覧表示するあなたのGitHubプロファイルREADMEをチェックすることができます.🎊

    👀こんな風に見える



    ⚙️ If you want to customize your GitHub Action, then have a look at all available options you can provide custom values to.


    最後まで読んでくれてありがとう.🙏
    あなたはそれが有用見つける!私はコメントセクションでこれについてあなたの考えを教えてください.あなたの友人や同僚とこの記事を共有することを忘れないでください.以下のプラットフォームのいずれかで私と接続すること自由に感じなさい!🚀
    陳川GitHub

    参考文献

  • ギタブアクションhttps://github.com/gautamkrishnar/blog-post-workflow
  • イメージソースhttps://unsplash.com/photos/RLw-UC03Gwc