jarnat/.drone.yml

38 lines
688 B
YAML
Raw Normal View History

2022-07-19 10:12:08 +02:00
---
kind: pipeline
type: docker
2022-07-19 10:43:51 +02:00
name: production
2022-07-19 10:12:08 +02:00
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:
2022-07-19 10:43:51 +02:00
- hugo deploy --target=production
2022-07-19 10:12:08 +02:00
---
kind: pipeline
type: docker
name: staging
platform:
os: linux
arch: arm64
steps:
- name: build
image: klakegg/hugo:0.101.0-ext-debian-ci
commands:
2022-07-19 10:43:51 +02:00
- hugo --minify --buildDrafts --buildFuture --environment staging
2022-07-19 10:12:08 +02:00
- name: deploy
image: klakegg/hugo:0.101.0-ext-debian-ci
commands:
2022-07-19 10:43:51 +02:00
- hugo deploy --target=staging