From 73e7f1ca3e890561d26ba7b45b832963677aaf13 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 19 Jul 2022 10:12:08 +0200 Subject: [PATCH] Ajout de la CI --- .drone.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e9df372 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +--- +kind: pipeline +type: docker +name: prod + +platform: + os: linux + arch: arm64 + +steps: + - name: build + image: klakegg/hugo:0.101.0-ext-debian-ci + commands: + - hugo --minify --environment production + - name: deploy + image: klakegg/hugo:0.101.0-ext-debian-ci + commands: + - hugo deploy + +--- +kind: pipeline +type: docker +name: staging + +platform: + os: linux + arch: arm64 + +steps: + - name: build + image: klakegg/hugo:0.101.0-ext-debian-ci + commands: + - hugo --minify --environment staging + - name: deploy + image: klakegg/hugo:0.101.0-ext-debian-ci + commands: + - hugo deploy