Add beam task to build, publish & deploy

This commit is contained in:
Gabriel Augendre 2021-12-28 12:27:25 +01:00
parent b679986434
commit cd284d43cc
2 changed files with 6 additions and 1 deletions

View file

@ -9,5 +9,5 @@ Hosted at https://gabnotes.org
## Development
```shell
inv test-cov
inv build publish deploy
inv beam
```

View file

@ -39,6 +39,11 @@ def deploy(ctx):
ctx.run("ssh ubuntu /home/gaugendre/blog/update", pty=True, echo=True)
@task(pre=[build, publish, deploy])
def beam(ctx):
pass
@task
def download_db(ctx):
with ctx.cd(BASE_DIR):