feat: Ajout de la ci
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
40c77b4065
commit
585510f6e3
18
.drone.yml
18
.drone.yml
|
@ -1,24 +1,20 @@
|
||||||
---
|
---
|
||||||
# drone encrypt kosssi/slides.lamelio.fr $AWS_ACCESS_KEY_ID
|
# drone encrypt ResiLien/diapos.resilien.fr $AWS_ACCESS_KEY_ID
|
||||||
kind: secret
|
kind: secret
|
||||||
name: PRODUCTION_AWS_ACCESS_KEY_ID
|
name: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||||
data: SzwoRUH77HIgApNSr4pIWzShKEqfrjDY6wm/KICad7+LoJAC/CB/l2KV9QB++RmbtT1Liy2C
|
data: peLWdXK9rRiMRBw2NBvySOhPLgHnvUFhjOVba5TU/EO7RtBehpYHgM2xKp0vGtBpSLmOtb58
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt kosssi/slides.lamelio.fr $AWS_SECRET_ACCESS_KEY
|
# drone encrypt ResiLien/diapos.resilien.fr $AWS_SECRET_ACCESS_KEY
|
||||||
kind: secret
|
kind: secret
|
||||||
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
||||||
data: E7w1BA/oedq53fzYAemHlUP6UX84ejtnapAXt1M0d/O7z4iV4KjTzv2tr8dDZaomBSR3DiZtA4lx/irnzkhPyYHnWF1eF9MQSA70ijMP+Aq2cP/ED8mULYFkzBs=
|
data: PekHO+HCtsC8nqfLHGqYwMbo5NEiEVMEYJaYExmf0kr7QEtvqqXQlNtobzY820BWP66g4uUe/tz0RNcZlRBb+vlNLemvvAdNO5s4elrTLNOXan92rRbgJzSegkw=
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: prod
|
name: prod
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install submodule
|
- name: install submodule
|
||||||
image: drone/git
|
image: drone/git
|
||||||
|
@ -26,12 +22,12 @@ steps:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
|
|
||||||
- name: build website
|
- name: build website
|
||||||
image: klakegg/hugo:0.107.0-ext-debian-ci
|
image: klakegg/hugo:0.111.3-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify
|
- hugo --minify
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.107.0-ext-debian-ci
|
image: klakegg/hugo:0.111.3-ext-debian-ci
|
||||||
environment:
|
environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID:
|
||||||
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||||
|
@ -44,4 +40,4 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Slides
|
# Diapos
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://git.resilien.fr/ResiLien/slides.resilien.fr.git --recurse-submodules
|
git clone https://git.resilien.fr/ResiLien/diapos.resilien.fr.git --recurse-submodules
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
baseURL = "https://slides.lamelio.fr/"
|
baseURL = "https://diapos.resilien.fr/"
|
||||||
languageCode = "fr-fr"
|
languageCode = "fr-fr"
|
||||||
title = "Présentation"
|
title = "Présentation"
|
||||||
|
|
||||||
|
@ -13,4 +13,4 @@ mediaType = "text/html"
|
||||||
isHTML = true
|
isHTML = true
|
||||||
|
|
||||||
[[deployment.targets]]
|
[[deployment.targets]]
|
||||||
URL = "s3://slides.lamelio.fr?endpoint=http://10.20.20.10:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage"
|
URL = "s3://diapos.resilien.fr?endpoint=https://s3.garage.resilien.cloud&s3ForcePathStyle=true®ion=garage"
|
||||||
|
|
Loading…
Reference in New Issue