summaryrefslogtreecommitdiff
path: root/worker/jobs/checkout_ci.run
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2025-05-10 18:53:56 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2025-05-10 18:58:19 -0700
commit5a9186380619e959ad87f3990f8b2c324b4462d8 (patch)
tree89af388b429a7b3b8347bf6bd35b99cfd749c64f /worker/jobs/checkout_ci.run
parent69fd91b33afa3e4d457550bffb011903fcdd2666 (diff)
downloadci-5a9186380619e959ad87f3990f8b2c324b4462d8.tar.gz
ci-5a9186380619e959ad87f3990f8b2c324b4462d8.zip
NPM is huuuge on debian. Just download the native release of bitwarden.
Diffstat (limited to 'worker/jobs/checkout_ci.run')
-rw-r--r--worker/jobs/checkout_ci.run5
1 files changed, 3 insertions, 2 deletions
diff --git a/worker/jobs/checkout_ci.run b/worker/jobs/checkout_ci.run
index d47697d..278a5b3 100644
--- a/worker/jobs/checkout_ci.run
+++ b/worker/jobs/checkout_ci.run
@@ -5,6 +5,7 @@
set -e
RUN=`date +%s`
+CWD=`$PWD`
WORKING_DIR=`$PWD/$RUN`
mkdir -p "$WORKING_DIR" && cd "$WORKING_DIR"
@@ -34,6 +35,6 @@ docker run --rm \
/pipeline \
> "$WORKING_DIR/pipeline.json"
-rm -rf tmpsrc
-
pipeline="$WORKING_DIR/pipeline.json" run_pipeline
+
+cd "$CWD" && rm -rf "$WORKING_DIR"