Further corrections
This commit is contained in:
parent
db6644d980
commit
1fe7d174a0
7
Makefile
7
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
|
scripts/docker.bash run -it --rm -v "$(PWD):/home/docker/src" -p 6119:6119 -p 6120:6120 riju bash
|
||||||
|
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
deploy: image-prod ## Deploy to Heroku
|
deploy: ## Deploy current master from GitHub to production
|
||||||
scripts/docker.bash tag riju:prod registry.heroku.com/riju-sandbox/web
|
scripts/deploy.bash
|
||||||
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
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ for pid in result.stdout.decode().splitlines():
|
||||||
break
|
break
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
os.chdir(tmpdir.name)
|
os.chdir(tmpdir)
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
"git",
|
"git",
|
||||||
|
|
Loading…
Reference in New Issue