Fixing CI
This commit is contained in:
parent
d6dfbd2c88
commit
fba60ef990
|
@ -129,8 +129,11 @@ jobs:
|
|||
- name: Move firmware documents
|
||||
run: |
|
||||
mkdir -p docs/_site/stabilizer
|
||||
mv target/thumbv7em-none-eabihf/doc docs/_site/stabilizer/firmware
|
||||
|
||||
- name: Test User Manual
|
||||
working-directory: docs
|
||||
run: rake test
|
||||
run: |
|
||||
rake build
|
||||
mv target/thumbv7em-none-eabihf/doc docs/_site/stabilizer/firmware
|
||||
rake test
|
||||
|
||||
|
|
|
@ -9,6 +9,9 @@ def run_htmlproofer()
|
|||
options = {
|
||||
# Assumes html file extensions
|
||||
assume_extension: true,
|
||||
|
||||
file_ignore: [ /stabilizer\/firmware\/.*/ ],
|
||||
|
||||
# The options for the curl library that's used.
|
||||
:typhoeus => {
|
||||
# This will stop you from getting errors when certs can't be parsed, which doesn't matter in this case.
|
||||
|
@ -23,6 +26,9 @@ def run_htmlproofer()
|
|||
end
|
||||
|
||||
task :test do
|
||||
sh "bundle exec jekyll build -d _site/stabilizer"
|
||||
run_htmlproofer()
|
||||
end
|
||||
|
||||
task :build do
|
||||
sh "bundle exec jekyll build -d _site/stabilizer"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue