Skip to content

Instantly share code, notes, and snippets.

@nisevi
Last active April 15, 2018 09:42
Show Gist options
  • Save nisevi/113accbb7142157346ca27882a65cde0 to your computer and use it in GitHub Desktop.
Save nisevi/113accbb7142157346ca27882a65cde0 to your computer and use it in GitHub Desktop.
Rake task for calling the logic that resides within GithubStaticPagesJob module.
namespace :fetch_github do
desc 'Get github content for static pages'
task :content_for_static_pages => :environment do
GithubStaticPagesJob.run
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment