Modification du déploiement

This commit is contained in:
Simon 2022-07-19 10:43:51 +02:00
parent 73e7f1ca3e
commit 84528457ac
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
---
kind: pipeline
type: docker
name: prod
name: production
platform:
os: linux
@ -15,7 +15,7 @@ steps:
- name: deploy
image: klakegg/hugo:0.101.0-ext-debian-ci
commands:
- hugo deploy
- hugo deploy --target=production
---
kind: pipeline
@ -30,8 +30,8 @@ steps:
- name: build
image: klakegg/hugo:0.101.0-ext-debian-ci
commands:
- hugo --minify --environment staging
- hugo --minify --buildDrafts --buildFuture --environment staging
- name: deploy
image: klakegg/hugo:0.101.0-ext-debian-ci
commands:
- hugo deploy
- hugo deploy --target=staging

View File

@ -146,7 +146,11 @@ Languages:
deployment:
targets:
- URL: >-
- name: production
URL: >-
s3://jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true&region=garage
- name: staging
URL: >-
s3://staging.jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true&region=garage
disableHugoGeneratorInject: true