Modification du déploiement
This commit is contained in:
parent
73e7f1ca3e
commit
84528457ac
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: prod
|
name: production
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -15,7 +15,7 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo deploy
|
- hugo deploy --target=production
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -30,8 +30,8 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --environment staging
|
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo deploy
|
- hugo deploy --target=staging
|
||||||
|
|
|
@ -146,7 +146,11 @@ Languages:
|
||||||
|
|
||||||
deployment:
|
deployment:
|
||||||
targets:
|
targets:
|
||||||
- URL: >-
|
- name: production
|
||||||
|
URL: >-
|
||||||
s3://jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
s3://jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||||
|
- name: staging
|
||||||
|
URL: >-
|
||||||
|
s3://staging.jarnat.fr?endpoint=http://roquette.resilien:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||||
|
|
||||||
disableHugoGeneratorInject: true
|
disableHugoGeneratorInject: true
|
||||||
|
|
Loading…
Reference in New Issue