This commit is contained in:
2023-05-10 21:46:02 +10:00
parent daa02ce35d
commit 57c44a7631

View File

@@ -4,7 +4,11 @@ require "dotenv"
require "hanami/rake_tasks" require "hanami/rake_tasks"
namespace :blog do 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 "hanami/prepare"
require "scraperd" require "scraperd"