Ajout de la CI

This commit is contained in:
Simon 2022-07-19 10:12:08 +02:00
parent 3a768b785e
commit 73e7f1ca3e
1 changed files with 37 additions and 0 deletions

37
.drone.yml Normal file
View File

@ -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