mp-publish
v1.0.2
Published
自动更新 notion database
Downloads
4
Readme
聊会小天 小程序 ci 工具
自动更新 notion database
Usage
npm install
npm run build:weapp
mv ./dist/build/mp-weixin ./tmp_production
npm run preview:weapp
mv ./dist/build/mp-weixin ./tmp_development
# 更新开发 database
npx weapp-notion-ci --gray-release ./tmp_production --development ./tmp_development
# 更新线上 database
npm run build:weapp
npx weapp-notion-ci --production ./dist/build/mp-weixin
需要的环境变量
NOTION_AUTH,
NOTION_D_DB_ID,
NOTION_P_DB_ID,
OSS_REGION,
OSS_BUCKET,
OSS_ACCESS_KEY_ID,
OSS_ACCESS_KEY_SECRET,
WEAPP_PRIVATE_KEY,
WEAPP_ID,