From 164f35310e4813a15d4955fc196b0c42cf039bce Mon Sep 17 00:00:00 2001 From: koy <369491420@qq.com> Date: Mon, 4 Dec 2023 16:19:18 +0800 Subject: [PATCH] update: rewrite path. --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2e31d7ef2..244d82bef 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,6 +16,7 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }} steps: - uses: actions/checkout@v4 + # Option1: Copy /lib flow # - uses: actions/setup-node@v4 # with: # node-version: 18 @@ -31,6 +32,8 @@ jobs: # - name: add /lib files # run: git add ./lib + + # Option2: rewrite path - name: rewirte path to CDN @4 run: sed -i 's|\"\/lib|\"\/\/cdn.jsdelivr.net\/npm\/docsify@4\/lib|g' ./docs/index.html