From 88c7acd439c0db723c2314564cdb947dfb5554a5 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 4 Jun 2023 14:55:22 +0200 Subject: [PATCH] feat: add deploy Signed-off-by: kjuulh --- cuddle.yaml | 3 +++ scripts/deploy.sh | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100755 scripts/deploy.sh diff --git a/cuddle.yaml b/cuddle.yaml index 34cec2a..8c866f3 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -26,3 +26,6 @@ scripts: key: "name" "sqlx:prepare": type: shell + + "deploy": + type: shell diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..4981801 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,8 @@ +export $(cat .env | xargs) + +cuddle_cli x start_deployment +cuddle_cli x render_templates +cuddle_cli x render_como_templates +cuddle_cli x build_release +cuddle_cli x push_release +cuddle_cli x deploy_release