From 57c44a763184a10a40086c9559d5ff76c89d06b1 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Wed, 10 May 2023 21:46:02 +1000 Subject: [PATCH] Rakefile --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index a6bb5b0..7a12df6 100644 --- a/Rakefile +++ b/Rakefile @@ -4,7 +4,11 @@ require "dotenv" require "hanami/rake_tasks" namespace :blog do - task :load_from_letterboxd => :environment do + task :load_from_letterboxd do + Dotenv::Parser.call(`cat /home/blog/current/.env.production`) + + puts ENV["MICROPUB_SITE_NAME"] + require "hanami/prepare" require "scraperd"