[CI/CD] The build-ui script should go back to the source root after running the UI build commands from the UI folder

This commit is contained in:
Fabio Manganiello 2024-06-02 17:45:52 +02:00
parent 7a8f30e5e0
commit 7d6ffc76fb

View file

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
export SRCDIR="$PWD"
export SKIPCI="$PWD/.skipci" export SKIPCI="$PWD/.skipci"
rm -rf "$SKIPCI" rm -rf "$SKIPCI"
@ -29,6 +30,7 @@ fi
# Create a .skipci file to mark the fact that the next steps should be skipped # 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) # (we're going to do another push anyway, so another pipeline will be triggered)
touch "$SKIPCI" touch "$SKIPCI"
cd "$SRCDIR"
. .drone/macros/configure-ssh.sh . .drone/macros/configure-ssh.sh
. .drone/macros/configure-gpg.sh . .drone/macros/configure-gpg.sh