Last active
April 15, 2018 09:42
-
-
Save nisevi/113accbb7142157346ca27882a65cde0 to your computer and use it in GitHub Desktop.
Rake task for calling the logic that resides within GithubStaticPagesJob module.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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