diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6394892..62aba24 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,11 +12,10 @@ jobs: env: DENO_INSTALL: /home/runner/.deno run: | - curl -fsSL https://deno.land/x/install/install.sh | sh + curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.4.6 export PATH="$DENO_INSTALL/bin:$PATH" deno --version - deno upgrade --version 1.4.6 - deno install --unstable --allow-env --allow-read --allow-write --allow-net --allow-run -n pagic https://deno.land/x/pagic@v0.10.3/mod.ts + deno install --unstable --allow-env --allow-read --allow-write --allow-net --allow-run --name=pagic https://deno.land/x/pagic@v0.10.3/mod.ts pagic build - name: Deploy diff --git a/site/articles/02-ECMAScript+/05-javascript-practice-extra.md b/site/articles/02-ECMAScript+/05-javascript-practice-extra.md index 964bf46..b7b7de2 100644 --- a/site/articles/02-ECMAScript+/05-javascript-practice-extra.md +++ b/site/articles/02-ECMAScript+/05-javascript-practice-extra.md @@ -905,4 +905,3 @@ function isCardNo(number) { var regx = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/; return regx.test(number); } ``` -