diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65aa9fea..6d0710b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - name: Build env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: 'npm run cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.js --publish always' + run: 'npm run publish' # - name: Build # env: diff --git a/package.json b/package.json index c050fb40..7d9fbb70 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "compile": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.js", "compilew": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.js --win", "compilem": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.js --mac", + "publish": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.config.js --publish always", "debug": "node scripts/debug.js", "lint": "eslint . --ext js,ts,vue", "typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",