From 26d9f8d365ab3d325cbfb94e5870678c0220bd9f Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 10 Feb 2021 18:25:39 +0100 Subject: [PATCH] Fix waiting for dependency step when building --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5d18822cb..7e77f558d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -174,6 +174,8 @@ steps: - "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json" - yarn run build - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing + depends_on: + - restore-cache - name: static image: kolaente/zip @@ -247,6 +249,8 @@ steps: - "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json" - yarn run build - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing + depends_on: + - restore-cache - name: static image: kolaente/zip