From daa02ce35d9eff672d3881e90fbbf3ac8be6580c Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Wed, 10 May 2023 21:42:29 +1000 Subject: [PATCH] Load env in rakefile --- Rakefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 4976543..a6bb5b0 100644 --- a/Rakefile +++ b/Rakefile @@ -4,11 +4,7 @@ require "dotenv" require "hanami/rake_tasks" namespace :blog do - task :load_from_letterboxd do - Dotenv::Parser.call(`cat .env.production`) - - puts ENV["MICROPUB_SITE_NAME"] - + task :load_from_letterboxd => :environment do require "hanami/prepare" require "scraperd"