mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-28 09:08:38 +02:00
Update docs_test_ru
This commit is contained in:
parent
03966c2b38
commit
b49c90ab82
@ -3,17 +3,18 @@ pipeline {
|
||||
stages {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
||||
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
||||
powershell encoding: 'UTF-8', script:'oint --token $TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||
}
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/node_modules"'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
||||
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
||||
bat encoding: 'UTF-8', script:'oint --token %TOKEN% --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||
}
|
||||
}
|
||||
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/node_modules"'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user