ci update
This commit is contained in:
7
Rakefile
7
Rakefile
@ -11,12 +11,12 @@ end
|
||||
|
||||
desc 'Preview site'
|
||||
task watch: :clean do
|
||||
sh 'jekyll serve --watch'
|
||||
sh 'bundle exec jekyll serve --watch'
|
||||
end
|
||||
|
||||
desc 'Build site'
|
||||
task build: :clean do
|
||||
sh 'jekyll build'
|
||||
sh 'bundle exec jekyll build'
|
||||
end
|
||||
|
||||
desc 'Run HTMLProofer on _site'
|
||||
@ -25,8 +25,9 @@ task check: :build do
|
||||
check_html: true,
|
||||
allow_hash_href: true,
|
||||
assume_extension: true,
|
||||
http_status_ignore: [403],
|
||||
typhoeus: {
|
||||
headers: { "User-Agent": 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0' }
|
||||
headers: { "User-Agent": 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0' }
|
||||
}
|
||||
}
|
||||
HTMLProofer.check_directory('./_site', options).run
|
||||
|
Reference in New Issue
Block a user