Loading .github/workflows/blog-post-workflow.yml 0 → 100644 +19 −0 Original line number Diff line number Diff line 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 in dev.to posts uses: gautamkrishnar/blog-post-workflow@v1 with: feed_list: "https://cyberbrain.pw/feed.xml" README.md +4 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,7 @@ Here are some ideas to get you started: - 😄 Pronouns: ... - ⚡ Fun fact: ... --> # Blog posts <!-- BLOG-POST-LIST:START --> <!-- BLOG-POST-LIST:END --> Loading
.github/workflows/blog-post-workflow.yml 0 → 100644 +19 −0 Original line number Diff line number Diff line 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 in dev.to posts uses: gautamkrishnar/blog-post-workflow@v1 with: feed_list: "https://cyberbrain.pw/feed.xml"
README.md +4 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,7 @@ Here are some ideas to get you started: - 😄 Pronouns: ... - ⚡ Fun fact: ... --> # Blog posts <!-- BLOG-POST-LIST:START --> <!-- BLOG-POST-LIST:END -->