DEV Community

loading...
Cover image for Dev Posts on GitHub

Dev Posts on GitHub

andrejarrell profile image Andre Jarrell ・1 min read

My Workflow

Show Dev Posts is free to use in the GitHub Marketplace!

This is a GitHub Action that will allow you to show your most recent blog posts from DEV.TO in your README

Submission Category

Wacky Wildcards is the category at the moment. It was made specifically for dev.to writters!

Yaml File or Link to Code

GitHub logo andrejarrell / DevPosts

📚 Show your latest DEV posts in your GitHub README

DevPosts

actionshackathon

📰 Name 📅 Date Reactions 💬 Comments
My Fav Browser Extensions 09/18/2020 4 0
Basic Linux Commands 08/19/2020 6 0
My VSCode Setup 08/18/2020 7 2

This is a GitHub Action that will allow you to show your most recent blog posts from dev.to in your README

🛠 Setup

  • Place these locator comment tags in your markdown file
# 📝 Posts
<!-- devposts:start -->
<!-- devposts:end -->
Enter fullscreen mode Exit fullscreen mode
  • Create a .github/workflows directory and make file named devposts.yml inside it
name: Show Dev Posts
on
  push:
  workflow_dispatch:
  schedule:
    - cron: '0 * * * *'

jobs:
  update:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
      - uses: andrejarrell/devposts@1.3.0
        with:
          # Replace username with your dev.to username
          dev_username: username
          github_token: ${{ secrets.GH_TOKEN }}
          # Add any other settings here
Enter fullscreen mode Exit fullscreen mode
  • Commit your files and read about Events

Additional Resources / Info

💬 Please comment if you are using this action! I will start creating a list!

ℹ Please feel free to submit issues or contribute and make pull request!

Discussion (2)

Collapse
sagartyagi121 profile image
Gajender Tyagi

Thanks for this

Collapse
andrejarrell profile image
Andre Jarrell Author

Glad you like it

Forem Open with the Forem app