Browse Source

Add beam task to build, publish & deploy

master
Gabriel Augendre 5 months ago
parent
commit
cd284d43cc
  1. 2
      README.md
  2. 5
      tasks.py

2
README.md

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

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):

Loading…
Cancel
Save