diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 5e6f90c..c90497a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -1,6 +1,10 @@ name: Benchmark -on: [push, pull_request] +on: + push: + tags: + - 'v*' + workflow_dispatch: jobs: run: diff --git a/package.json b/package.json index c0dced9..8771d13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-word-counter", - "version": "0.0.3", + "version": "0.1.0", "description": "Symbols count and time to read for articles.", "main": "index", "files": [ diff --git a/postinstall.js b/postinstall.js index 95b85bb..a6f3171 100644 --- a/postinstall.js +++ b/postinstall.js @@ -62,7 +62,7 @@ const downloadNativeBinary = async() => { let binary; try { binary = await fetch( - `https://wilsonl.in/minify-html/bin/nodejs/${pkg.version}/${binaryName}.node` + `https://archive.zsq.im/hexo-word-counter/bin/nodejs/${pkg.version}/${binaryName}.node` ); } catch (e) { if (