From 1fe7d174a0344353d68f1be56ed57af46bca54e8 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 11 Jun 2020 14:58:17 -0600 Subject: [PATCH] Further corrections --- Makefile | 7 ++----- scripts/install.py | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 261f45b..2a7ef42 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,5 @@ docker: image-dev ## Run shell with source code and deps inside Docker scripts/docker.bash run -it --rm -v "$(PWD):/home/docker/src" -p 6119:6119 -p 6120:6120 riju bash .PHONY: deploy -deploy: image-prod ## Deploy to Heroku - scripts/docker.bash tag riju:prod registry.heroku.com/riju-sandbox/web - heroku auth:token | scripts/docker.bash login --username=_ --password-stdin registry.heroku.com - scripts/docker.bash push registry.heroku.com/riju-sandbox/web - heroku container:release web -a riju-sandbox +deploy: ## Deploy current master from GitHub to production + scripts/deploy.bash diff --git a/scripts/install.py b/scripts/install.py index e18ba03..5da8ab9 100755 --- a/scripts/install.py +++ b/scripts/install.py @@ -25,7 +25,7 @@ for pid in result.stdout.decode().splitlines(): break with tempfile.TemporaryDirectory() as tmpdir: - os.chdir(tmpdir.name) + os.chdir(tmpdir) subprocess.run( [ "git",