maxime1992 / dev-to-git

Publish a blog post (markdown file) to Dev.to from your command line or from CI with this CLI
MIT License
27 stars 13 forks source link

[feature request] Use Github Actions instead of (along with) Travis #21

Closed fyodorio closed 1 year ago

fyodorio commented 4 years ago

Using Github Actions instead of Travis (or as an option to choose) would provide for free (and presumably faster) CI workflow with private repos

maxime1992 commented 4 years ago

Thanks @fyodorio that's a really good idea. I haven't had the time to dig into them though and don't have time right now for that. Would be happy to review a PR if you feel like raising one :+1:

PauloGoncalvesBH commented 4 years ago

@maxime1992, put me as an assignee? I will send a PR until the next day.

maxime1992 commented 4 years ago

Hi guys :)

Thanks @PauloGoncalvesBH for offering your help :pray:. I'd be super glad to get a PR but before that I'd like to make sure we are all talking about the same thing here?

I'd say we can keep Travis as it was a one time setup here for the publishing of the NPM module. What I'd like though is a file to have Github action setup for people using this module if they prefer their repo (/blog) to be private.

@fyodorio is it what you had in mind too?

@PauloGoncalvesBH is it what you were thinking of? Because I think such a contribution would fit better in the template here: https://github.com/maxime1992/dev.to rather than this repo

maxime1992 commented 4 years ago

Also, @beeman wrote an article few days ago: https://dev.to/beeman/automate-your-dev-posts-using-github-actions-4hp3

in case that's of any help :)

maxime1992 commented 3 years ago

Update here, not 100% related but a little bit.

Travis setup wasn't working anymore on this repo so I migrated to Github Actions to build/publish this project.

We should indeed provide an example to have this as the default to publish blog posts as well instead of Travis :+1:

@PauloGoncalvesBH are you still interested in making a PR for this?

maxime1992 commented 1 year ago

I've done it in the template repo though https://github.com/maxime1992/dev.to/blob/master/.github/workflows/main.yml :heavy_check_mark: