diff --git a/.drone.yml b/.drone.yml index 3d1de3d..cce589e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,8 +22,14 @@ steps: when: event: - tag + - name: submodules + image: alpine/git + commands: + - git submodule update --init --recursive - name: build image: sist2app/sist2-build + depends_on: + - submodules commands: - ./scripts/build.sh - name: scp files @@ -69,8 +75,14 @@ steps: when: event: - tag + - name: submodules + image: alpine/git + commands: + - git submodule update --init --recursive - name: build image: sist2app/sist2-build-arm64 + depends_on: + - submodules commands: - ./scripts/build_arm64.sh - name: scp files diff --git a/scripts/build.sh b/scripts/build.sh index 430ac31..32ff075 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,8 +2,6 @@ VCPKG_ROOT="/vcpkg" -git submodule update --init --recursive - ( cd sist2-vue/ npm install