mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-24 05:36:29 +02:00
Правки JF выгрузки доков
This commit is contained in:
parent
a821eceaad
commit
7a3338a802
@ -8,7 +8,7 @@ pipeline {
|
||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/en/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', variable: 'TOKEN')]) {
|
||||
withCredentials([string(credentialsId: 'neocities-en', variable: 'TOKEN')]) {
|
||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/build"'
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ pipeline {
|
||||
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', variable: 'TOKEN')]) {
|
||||
withCredentials([string(credentialsId: 'neocities-ru', variable: 'TOKEN')]) {
|
||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/build"'
|
||||
}
|
||||
}
|
||||
|
17
ci/omp_push
Normal file
17
ci/omp_push
Normal file
@ -0,0 +1,17 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
|
||||
withCredentials([string(credentialsId: 'opm-token', variable: 'TOKEN')]) {
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.14.0.ospx'
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm push --token $ENV:TOKEN --channel stable --file oint-1.14.0.ospx; del oint-1.14.0.ospx'
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build;'
|
||||
powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm push --token $ENV:TOKEN --channel stable --file oint-cli-1.14.0.ospx; del oint-cli-1.14.0.ospx'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user