Add beam task to build, publish & deploy
This commit is contained in:
parent
b679986434
commit
cd284d43cc
2 changed files with 6 additions and 1 deletions
|
@ -9,5 +9,5 @@ Hosted at https://gabnotes.org
|
|||
## Development
|
||||
```shell
|
||||
inv test-cov
|
||||
inv build publish deploy
|
||||
inv beam
|
||||
```
|
||||
|
|
5
tasks.py
5
tasks.py
|
@ -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):
|
||||
|
|
Reference in a new issue