diff --git a/.drone.yml b/.drone.yml index 1476406..45b694e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,11 @@ platform: arch: amd64 steps: +- name: submodules + image: ubuntu:focal + commands: + - git submodule update --init --recursive + - name: build-and-test image: ubuntu:focal @@ -15,7 +20,6 @@ steps: - apt-get -y update - apt-get -y install graphviz plantuml make python3-pip git - pip install -r requirements.txt - - git submodule update --init --recursive - make bundle trigger: @@ -34,14 +38,13 @@ platform: arch: amd64 steps: +- name: submodules + image: ubuntu:focal + commands: + - git submodule update --init --recursive + - name: build-and-test image: ubuntu:focal - environment: - GH_REPO_TOKEN: - from_secret: repo_token - GH_REPO_NAME: crow - GH_REPO_REF: github.com/crowcpp/crow.git - THEME_REPO_REF: github.com/crowcpp/darxygen.git commands: - export DEBIAN_FRONTEND=noninteractive @@ -49,7 +52,6 @@ steps: - apt-get -y update - apt-get -y install graphviz plantuml make python3 python3-pip git - pip install -r requirements.txt - - git submodule update --init --recursive - make -j4 bundle trigger: