diff options
author | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-10 16:57:03 -0700 |
---|---|---|
committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2025-05-10 16:57:03 -0700 |
commit | fa8f3f9465e87d499f7d6428323f496a884b7818 (patch) | |
tree | ab477dfa52ef30282029c4f136bf605cb24d67a9 /worker/scripts/fetch_code | |
download | ci-fa8f3f9465e87d499f7d6428323f496a884b7818.tar.gz ci-fa8f3f9465e87d499f7d6428323f496a884b7818.zip |
initial commit
Diffstat (limited to 'worker/scripts/fetch_code')
-rw-r--r-- | worker/scripts/fetch_code | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/worker/scripts/fetch_code b/worker/scripts/fetch_code new file mode 100644 index 0000000..d45f6db --- /dev/null +++ b/worker/scripts/fetch_code @@ -0,0 +1,6 @@ +#!/bin/bash + +git clone "$remote" "$path" +cd "$path" +git reset --hard "$checkout" +cd - |