fix ci-cd
Some checks failed
Deploy triz-docs to civital server / build-and-deploy (push) Failing after 1h8m5s
Some checks failed
Deploy triz-docs to civital server / build-and-deploy (push) Failing after 1h8m5s
This commit is contained in:
parent
57d4e73e55
commit
767b400fdb
@ -78,8 +78,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set PATH=%NODE_PATH%;%PATH%
|
set PATH=%NODE_PATH%;%PATH%
|
||||||
cd /d "%WORKSPACE_DIR%"
|
cd /d "%WORKSPACE_DIR%"
|
||||||
|
|
||||||
|
if not exist "node_modules" (
|
||||||
|
echo node_modules missing
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
echo [diag] Starting Docusaurus build...
|
echo [diag] Starting Docusaurus build...
|
||||||
npx docusaurus build
|
npm run build
|
||||||
|
|
||||||
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
|
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
|
||||||
echo [diag] Build complete.
|
echo [diag] Build complete.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user