aboutsummaryrefslogtreecommitdiff
path: root/eventline/ev-scripts-deploy.sh
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-04 23:34:09 +0200
committerJulien Dessaux2022-09-04 23:34:09 +0200
commit3a73d31f373430c3499f1e6e2f9565a34faf5af9 (patch)
tree8254b85107e14be4e13286d64ac4efa362a5e1a7 /eventline/ev-scripts-deploy.sh
parentAdded hello job (diff)
downloadev-scripts-3a73d31f373430c3499f1e6e2f9565a34faf5af9.tar.gz
ev-scripts-3a73d31f373430c3499f1e6e2f9565a34faf5af9.tar.bz2
ev-scripts-3a73d31f373430c3499f1e6e2f9565a34faf5af9.zip
Removed hello and added ev-scripts deploy
Diffstat (limited to 'eventline/ev-scripts-deploy.sh')
-rw-r--r--eventline/ev-scripts-deploy.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/eventline/ev-scripts-deploy.sh b/eventline/ev-scripts-deploy.sh
new file mode 100644
index 0000000..c6b6f0d
--- /dev/null
+++ b/eventline/ev-scripts-deploy.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+WORKDIR="/tmp/ev-scripts-deploy"
+
+cleanup() {
+ cd
+ rm -rf ${WORKDIR}
+}
+
+trap cleanup EXIT
+
+git clone -q --depth 1 https://git.adyxax.org/adyxax/ev-scripts.git ${WORKDIR}
+cd ${WORKDIR}
+make run