]> Untitled Git - lemmy-ui.git/commitdiff
fetch git submodules.
authorDessalines <tyhou13@gmx.com>
Mon, 4 Jan 2021 16:15:12 +0000 (11:15 -0500)
committerDessalines <tyhou13@gmx.com>
Mon, 4 Jan 2021 16:15:12 +0000 (11:15 -0500)
.drone.yml

index 1181210d01f2f26f896c26f8346a97c75e41eac3..d5d955209ce34db6105971bf6bbe267b81020913 100644 (file)
@@ -57,13 +57,12 @@ platform:
 
 steps:
 
-  - name: create docker tags
+  - name: fetch git submodules
     image: node:14-alpine
     commands:
-      - echo "$(git describe),latest" > .tags
-    when:
-      ref:
-        - refs/tags/*
+      - apk add git
+      - git submodule init
+      - git submodule update --recursive --remote
 
   - name: try to make a build
     image: plugins/docker
@@ -72,4 +71,13 @@ steps:
       repo: dessalines/lemmy-ui
     #when:
     #  ref:
-    #    - refs/tags/*
\ No newline at end of file
+    #    - refs/tags/*
+
+  - name: create docker tags
+    image: node:14-alpine
+    commands:
+      - echo "$(git describe),latest" > .tags
+    when:
+      ref:
+        - refs/tags/*
+