Update OpenCode migration guide and configuration details; change post date to June 13, 2026

This commit is contained in:
2026-07-03 16:31:43 +08:00
parent 0701f47541
commit 37bc43dd6b
7 changed files with 4653 additions and 1 deletions
Vendored
+46
View File
@@ -0,0 +1,46 @@
pipeline {
agent any
environment {
NODE_VERSION = '20'
}
stages {
stage('Checkout') {
steps {
checkout scm
sh 'git submodule update --init --recursive'
}
}
stage('Install Dependencies') {
steps {
sh 'npm install'
}
}
stage('Build') {
steps {
sh 'npm run clean'
sh 'npm run build'
}
}
stage('Deploy') {
steps {
withCredentials([gitUsernamePassword(credentialsId: 'github-credentials')]) {
sh 'npx hexo deploy'
}
}
}
}
post {
success {
echo '博客发布成功!'
}
failure {
echo '博客发布失败!'
}
}
}