From 44cc0d2cd968f3aa036353f3f018c0ac9b20c912 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 21 Jul 2022 11:27:06 +0200 Subject: [PATCH] [DigitalOcean] Added specs --- .do/app.yaml | 17 +++++++++++++++++ .do/deploy.template.yaml | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .do/app.yaml create mode 100644 .do/deploy.template.yaml diff --git a/.do/app.yaml b/.do/app.yaml new file mode 100644 index 0000000..23f588a --- /dev/null +++ b/.do/app.yaml @@ -0,0 +1,17 @@ +--- +domains: +- domain: start.simoncor.net + type: PRIMARY +name: speed-dial +region: ams +static_sites: +- build_command: hugo -d public + environment_slug: hugo + gitlab: + branch: master + deploy_on_push: true + repo: embark_caboose/start-simoncor-net + name: start-simoncor-net + routes: + - path: / + source_dir: / diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml new file mode 100644 index 0000000..d75b7b3 --- /dev/null +++ b/.do/deploy.template.yaml @@ -0,0 +1,11 @@ +--- +spec: + name: speed-dial + region: ams + static_sites: + - build_command: hugo -d public + environment_slug: hugo + gitlab: + branch: master + repo: embark_caboose/start-simoncor-net + name: start-simoncor-net