mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Deploy docs direct in Travis CI (#11727)
* deploy_docs direct in travis * forgot chmod
This commit is contained in:
@@ -37,6 +37,9 @@ install:
|
||||
after_failure:
|
||||
- tail /tmp/snmpsimd.log
|
||||
|
||||
after_success:
|
||||
- scripts/deploy-docs.sh
|
||||
|
||||
before_script:
|
||||
- phpenv config-rm xdebug.ini
|
||||
- test -n "$SKIP_WEB_CHECK" || php artisan serve --env=dusk.testing 2>/dev/null &
|
||||
|
@@ -67,10 +67,6 @@ class DevCheckCommand extends LnmsCommand
|
||||
|
||||
$result = $this->helper->run();
|
||||
|
||||
if (getenv('EXECUTE_BUILD_DOCS') && $this->helper->getFlag('docs_changed')) {
|
||||
exec('bash scripts/deploy-docs.sh');
|
||||
}
|
||||
|
||||
if ($result == 0 && $this->helper->allChecksComplete()) {
|
||||
$this->line("\033[32mTests ok, submit away :)\033[0m");
|
||||
}
|
||||
|
0
scripts/deploy-docs.sh
Normal file → Executable file
0
scripts/deploy-docs.sh
Normal file → Executable file
Reference in New Issue
Block a user