From a516527c251c6c2493c3ce8c8b4d923d0fe6d0aa Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Thu, 15 Dec 2022 18:35:16 +0800
Subject: [PATCH] fix .gitlab-ci.yml

---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 45dd8b8..11cb3cb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,14 +4,13 @@ stages:
 publish_npm:
   image: "node:current-alpine"
   stage: publish-npm
+  variables:
+    GIT_SUBMODULE_STRATEGY: recursive
   before_script:
     - apk add --update bash
     - apk add --update make
     - apk add --update protobuf-dev
     - apk add --update yarn
-    - apk add --update git
-    - git config --global http.sslVerify "false"
-    - git submodule init
 
   rules:
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
-- 
GitLab