From 37f0c7540dba219229f38aee07a4c92242f2d926 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 14 Nov 2021 19:46:22 +0100 Subject: [PATCH] Added deployment --- deploy.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..8f6ee07 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +git checkout production && git pull main && git push && git checkout main + +cd deployment + +ansible-playbook todo-setup.yml + +cd ..