From cd284d43cc9a3a9a9788ebf8c8163e2354cfcb5b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 28 Dec 2021 12:27:25 +0100 Subject: [PATCH] Add beam task to build, publish & deploy --- README.md | 2 +- tasks.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f0ddbd..b05bed0 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ Hosted at https://gabnotes.org ## Development ```shell inv test-cov -inv build publish deploy +inv beam ``` diff --git a/tasks.py b/tasks.py index 12536c9..65368e0 100644 --- a/tasks.py +++ b/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):