From ec3a9fbf493a7081db49b7dd7e8dcaf1bfc63d0f Mon Sep 17 00:00:00 2001 From: sk337 Date: Wed, 24 Jan 2024 11:09:09 -0800 Subject: [PATCH] update workflow to clone sub modules --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9543f5d..2072d0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,9 @@ jobs: - name: add Config run: "echo export default {base: \\'SwordManager\\'} > src/config.js" - name: Builing Website - run: npm run build + run: | + git submodule update --init --recursive + npm run build env: VITE_BASE_URL: "SwordManager" - name: Upload artifact