From 7d6ffc76fb75666fe11a2970366fa8ff1c25825a Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 2 Jun 2024 17:45:52 +0200 Subject: [PATCH] [CI/CD] The build-ui script should go back to the source root after running the UI build commands from the UI folder --- .drone/build-ui.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone/build-ui.sh b/.drone/build-ui.sh index a9e0a38a29..18317364f6 100755 --- a/.drone/build-ui.sh +++ b/.drone/build-ui.sh @@ -1,5 +1,6 @@ #!/bin/sh +export SRCDIR="$PWD" export SKIPCI="$PWD/.skipci" rm -rf "$SKIPCI" @@ -29,6 +30,7 @@ fi # Create a .skipci file to mark the fact that the next steps should be skipped # (we're going to do another push anyway, so another pipeline will be triggered) touch "$SKIPCI" +cd "$SRCDIR" . .drone/macros/configure-ssh.sh . .drone/macros/configure-gpg.sh