Coder Social home page Coder Social logo

imrushi / markdown-or-hugo-to-medium Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 102 KB

Github action for markdown and hugo post to publish on medium

License: MIT License

Go 98.59% Dockerfile 1.41%
hugo hugo-to-markdown hugo-to-medium markdown markdown-to-medium

markdown-or-hugo-to-medium's Introduction

handwavegif Hello there ! I am Rushi Panchariya...

👨🏻‍💻  About Me

💡  I'm a full stack developer and researcher, working on various products using below tech stack.
💻  I'm working on cloud native technologies.
🌱  I'm on track for imporving my programming skill sets and data structures...
✍️  In my free time, I play Video Games (Valorant, Fifa), football and pursue producing EDM as my hobbies.
📄  You can check my portfolio
⚡  Fun fact: Banging your head against a wall for one hour burns 150 calories. GIF

🛠  Tech Stack

Go  JavaScript  Nodejs  Java  Python  Bootstrap
Angular  HTML  CSS  Git  GitHub  Visual Studio Code  Flutter  Docker 

Profile Status & Top Langs

imrushi :: Profile Stats

imrushi :: Top Langs

📫   How to reach me:

LinkedIn   Gmail      

markdown-or-hugo-to-medium's People

Contributors

imrushi avatar

Stargazers

 avatar

markdown-or-hugo-to-medium's Issues

Init tag

If user want to publish his all post to medium. there should flag or something from which it push all content to medium.

Improve workflow

Instead of building an image from Dockerfile each time. action.yml should pull image from docker hub. Each time on git tag workflow should trigger to build image for that version.

Save post id and name in json

Store post response of the blog post in workflows output variable. Output variable can be used to write the response in json file. So it can be used check if blog already exist if it is already exist don't push to medium if it doesn't post to medium.

{
  "fileName": {
    "postID": "adsfdas",
    "postName": "asdas"
  },
  "fileName": {
    "postID": "adsfdas",
    "postName": "asdas"
  }
}

Publish flag for cli

Add -p or --publish flag which will pass multiple md file name with comma separated. Also need to handle GITHUB_WORKSPACE environment variable for cli.

example of publish flag:
-p post.md
-p post1.md, post2.md, post3,md
-p . or -p all

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.