From 097a6b01529227958ba8f8570ea965d7646b3e0c Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 28 Feb 2020 15:39:13 +0000 Subject: [PATCH] deploy: Add Makefile with deploy shortcuts --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..adc709c --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.PHONY: docs +docs: + cd docs; make clean; make html; cd .. + yes 'yes' | env/bin/python manage.py collectstatic + +.PHONY: lint +lint: + prospector + +.PHONY: staging +staging: + ansible-playbook -v -i staging.yml playbook.yml -u jag1e17 -K + +.PHONY: production +production: + ansible-playbook -v -i production.yml playbook.yml -u jag1e17 -K