From 744ee21700d91cf9a32dcd2dc60c5783262b77e4 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 18 Jun 2023 18:13:20 +0800 Subject: [PATCH] Remove unneeded code in Rakefile --- Rakefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Rakefile b/Rakefile index 0df14a9..6800fc6 100644 --- a/Rakefile +++ b/Rakefile @@ -5,12 +5,6 @@ require 'json' require 'open3' require 'shellwords' -github_api_headers = { - 'Header' => 'application/vnd.github+json', - 'X-GitHub-Api-Version' => '2022-11-28' -} -github_api_headers['Authorization'] = "Token #{ENV['GITHUB_API_BEARER_TOKEN']}" if ENV['GITHUB_API_BEARER_TOKEN'] - desc 'Build the site' task :build, [:context, :base_url] => [:export_avatars] do |_, args| args.with_defaults(context: 'production')