diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index cf11446..cde66f2 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -17,6 +17,11 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - run: npm ci + + # New step to copy docs/cli.readme.md to readme.md + - name: Replace README.md + run: cp docs/CLI.README.md readme.md + - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET }} diff --git a/package.json b/package.json index 43c2493..84d3978 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "wechatbot-webhook", + "name": "wechatbot-webhook2", "version": "2.4.2", "description": "给微信里加个 webhook 机器人,支持docker部署", "keywords": ["wechat","bot","webhook","wechaty","http-service"],