1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-09 13:47:03 +02:00
OpenIntegrations/ci/docs_test_ru

18 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-09-22 14:24:59 +03:00
pipeline {
agent any
stages {
2024-09-22 22:38:49 +03:00
stage('Deploy') {
2024-09-22 14:24:59 +03:00
steps {
2024-09-22 14:38:07 +03:00
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
2024-09-22 14:39:48 +03:00
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'
2024-09-22 22:38:49 +03:00
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus/build & neocel --t=%GPGKEY% --yes'
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
2024-09-24 11:40:27 +03:00
powershell encoding: 'UTF-8', script:'oint --token $TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
2024-09-24 11:56:36 +03:00
}
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
2024-09-22 14:24:59 +03:00
}
}
}
}