portails/.drone.yml

62 lines
1.8 KiB
YAML

---
# drone encrypt ResiLien/portails $AWS_ACCESS_KEY_ID
kind: secret
name: P4PILLON_AWS_ACCESS_KEY_ID
data: XY87aSNvLDeNNSMT1xHmVUTWXSpXJORM/P8RCRmsVWtByyefTbXX1cF0A4EuokVbOJs0DJZs
---
# drone encrypt ResiLien/portails $AWS_SECRET_ACCESS_KEY
kind: secret
name: P4PILLON_AWS_SECRET_ACCESS_KEY
data: 58Boc2Ux7MKwvh1nHh2xmY4JEje5CyX0/H/z6tM/ehLD1m4WQKblvc/+PX0DcaFqX86JPG8osLRsglkP9pyW7iH5WwuMQcXR/NzOAJioO+xgrh/14qUCYe+N5Yc=
---
# drone encrypt ResiLien/portails $AWS_ACCESS_KEY_ID
kind: secret
name: LAMELIO_AWS_ACCESS_KEY_ID
data: dUmshCdmcB0zhzC99eDo/stA8bLtJJyoEMUgW/ctEIbv6dAyD3k1YYExCuqW42Ja6W4xregL
---
# drone encrypt ResiLien/portails $AWS_SECRET_ACCESS_KEY
kind: secret
name: LAMELIO_AWS_SECRET_ACCESS_KEY
data: VcxVOlwmxcs01hi06TalHm0DggpmRZMQqKWcTgNWgBLkvZRiFf5pxx8dTbqjaJ+5zjzj9a/veHqFqZSCipyo5eVayIevJnosnMXjM7j29ij/xpegatmCHXflbc0=
---
kind: pipeline
type: docker
name: P4Pillon
steps:
- name: Installation des dépendances & construction du site
image: hugomods/hugo:exts-0.123.8
environment:
AWS_ACCESS_KEY_ID:
from_secret: P4PILLON_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: P4PILLON_AWS_SECRET_ACCESS_KEY
commands:
- npm install --ignore-scripts
- hugo --minify --environment apps.p4pillon.org
- hugo --minify --environment apps.p4pillon.org
- hugo deploy --environment apps.p4pillon.org
---
kind: pipeline
type: docker
name: LaMelio
steps:
- name: Installation des dépendances & construction du site
image: hugomods/hugo:exts-0.123.8
environment:
AWS_ACCESS_KEY_ID:
from_secret: LAMELIO_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: LAMELIO_AWS_SECRET_ACCESS_KEY
commands:
- npm install --ignore-scripts
- hugo --minify --environment apps.lamelio.fr
- hugo --minify --environment apps.lamelio.fr
- hugo deploy --environment apps.lamelio.fr