This commit is contained in:
2026-04-22 18:54:52 +08:00
commit bc8986e3b2
49 changed files with 20987 additions and 0 deletions

14
scripts/ci/upload.js Normal file
View File

@@ -0,0 +1,14 @@
const ci = require('miniprogram-ci')
const { createProject, getBaseSetting } = require('./shared')
ci.upload({
project: createProject(),
version: process.env.WEAPP_VERSION || '0.1.0',
desc: process.env.WEAPP_DESC || 'codex upload',
robot: Number(process.env.WEAPP_ROBOT || 1),
setting: getBaseSetting(),
onProgressUpdate() {}
}).catch(error => {
console.error(error)
process.exit(1)
})