diff --git a/tasks.py b/tasks.py index 4068d66..0e66ce6 100644 --- a/tasks.py +++ b/tasks.py @@ -78,7 +78,7 @@ def publish(ctx: Context) -> None: @task def deploy(ctx: Context) -> None: - ctx.run("ssh ubuntu /home/gaugendre/checkout/update", pty=True, echo=True) + ctx.run("ssh ubuntu /mnt/data/checkout/update", pty=True, echo=True) @task @@ -104,8 +104,8 @@ def beam(ctx: Context) -> None: @task def download_db(ctx: Context) -> None: with ctx.cd(BASE_DIR): - ctx.run("scp ubuntu:/home/gaugendre/checkout/db/db.sqlite3 ./db/db.sqlite3") + ctx.run("scp ubuntu:/mnt/data/checkout/db/db.sqlite3 ./db/db.sqlite3") ctx.run("rm -rf src/media/") - ctx.run("scp -r ubuntu:/home/gaugendre/checkout/media/ ./src/media") + ctx.run("scp -r ubuntu:/mnt/data/checkout/media/ ./src/media") with ctx.cd(SRC_DIR): ctx.run("./manage.py changepassword gaugendre", pty=True)