Deploy docs direct in Travis CI (#11727)

* deploy_docs direct in travis

* forgot chmod
This commit is contained in:
Tony Murray
2020-05-28 21:52:54 -05:00
committed by GitHub
parent 8b37eaf752
commit 2a6342f2ca
3 changed files with 3 additions and 4 deletions

View File

@@ -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 &

View File

@@ -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
View File