mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 04:58:26 +00:00
Remove unneeded code in Rakefile
This commit is contained in:
parent
5ade8dd120
commit
744ee21700
6
Rakefile
6
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')
|
||||
|
Loading…
Reference in New Issue
Block a user