Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ohttps committed Mar 4, 2024
1 parent 17fda28 commit a176295
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pkg-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
./dist/push-node-alpine-arm64
./dist/push-node-alpine-x64
./dist/push-node-linux-arm64
./dist/push-node-linux-armv6
./dist/push-node-linux-armv7
./dist/push-node-linux-x64
./dist/push-node-macos-arm64
./dist/push-node-macos-x64
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ nginx、httpd、openresty 等服务的 docker 容器可结合 push-node,实现
* https://github.com/ohttps/push-node/releases/download/1.0.0/push-node-macos-arm64
* push-node-macos-x64:
* https://github.com/ohttps/push-node/releases/download/1.0.0/push-node-macos-x64
* push-node-win-arm64.exe:
* https://github.com/ohttps/push-node/releases/download/1.0.0/push-node-win-arm64.exe
* push-node-win-x64.exe:
* https://github.com/ohttps/push-node/releases/download/1.0.0/push-node-win-x64.exe
* 注意:**使用时请根据系统架构自行选择合适的二进制包**
* 注意:**最新版本请查看[release](https://github.com/ohttps/push-node/releases)列表**

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "babel-node ./src/push-node.js",
"build": "babel ./src --out-dir ./build",
"pkg": "npm install && npm run build && pkg -t node18-macos-arm64,node18-macos-x64,node18-alpine-arm64,node18-alpine-x64,node18-linux-arm64,node18-linux-armv6,node18-linux-armv7,node18-linux-x64 --no-bytecode --public-packages '*' --public --out-path dist ./build/push-node.js"
"pkg": "npm install && npm run build && pkg -t node18-macos-arm64,node18-macos-x64,node18-alpine-arm64,node18-alpine-x64,node18-linux-arm64,node18-linux-x64 --no-bytecode --public-packages '*' --public --out-path dist ./build/push-node.js"
},
"author": "service@ohttps.com",
"license": "ISC",
Expand Down
2 changes: 1 addition & 1 deletion src/push-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const processArgs = getProcessArgs()
// OHTTPS中创建的部署节点ID
const PUSH_NODE_ID = processArgs['node-id'] || process.env.PUSH_NODE_ID
// OHTTPS中创建的部署节点令牌
const PUSH_NODE_TOKEN = processArgs['node-token'] || process.env.PUSH_NODE_ID
const PUSH_NODE_TOKEN = processArgs['node-token'] || process.env.PUSH_NODE_TOKEN
// OHTTPS的SOCKET服务地址
const PUSH_SOCKET_URL = processArgs['socket-url'] || process.env.PUSH_SOCKET_URL || 'https://socket.ohttps.com/'
// 证书文件首次下载后执行的启动命令
Expand Down

0 comments on commit a176295

Please sign in to comment.