Skip to content

Commit

Permalink
[CI] Adds doc task to git add files from OK response
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Jan 5, 2024
1 parent ea92c3b commit 808aea0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rake_tasks/doc_generator.rake
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ namespace :docs do
puts "Downloaded report for #{args[:branch] ? args[:branch] : 'main' } branch"
end

desc 'Add files from 200-ok log'
task :add_files do
`cat log/200-ok.log | xargs git add`
end

def json_data
JSON.parse(File.read(SRC_FILE))
end
Expand Down

0 comments on commit 808aea0

Please sign in to comment.