summaryrefslogtreecommitdiff
path: root/roles/pipeliner/templates
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-11-20 19:57:31 +0000
committerNick White <git@njw.name>2021-11-20 19:57:31 +0000
commit5632c4313f2990d6e24e05915737eb19062c3354 (patch)
tree1fe733d2916b21380022f03bfe962902a9723a98 /roles/pipeliner/templates
parent183be5005efe8209ef947aa8a26e213c0ced4750 (diff)
Use new go path for updatepipeline
Diffstat (limited to 'roles/pipeliner/templates')
-rw-r--r--roles/pipeliner/templates/updatepipeline.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pipeliner/templates/updatepipeline.j2 b/roles/pipeliner/templates/updatepipeline.j2
index 511bd2a..29acf34 100644
--- a/roles/pipeliner/templates/updatepipeline.j2
+++ b/roles/pipeliner/templates/updatepipeline.j2
@@ -4,7 +4,7 @@ t="/home/{{ ansible_user }}/trainings"
cd "$s/bookpipeline" && \
git pull && \
-go install ./cmd/bookpipeline && \
+/usr/local/go/bin/go install ./cmd/bookpipeline && \
sudo cp "$HOME/go/bin/bookpipeline" /usr/local/bin/ || exit 1
cd "$t" && git pull && \