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