itsblue-website/.drone.yml
Dorian Zedler ea9bb8fd5a
All checks were successful
continuous-integration/drone/push Build is passing
Feat: deploy dev
2022-08-05 14:47:21 +02:00

41 lines
644 B
YAML

---
kind: pipeline
name: production
steps:
- name: build
image: klakegg/hugo:ext-alpine-ci
commands:
- hugo --minify
- name: publish
image: itsblue.dev/plugins/codeberg-pages-deploy
settings:
folder: public
ssh_key:
from_secret: gitea-ssh-key
trigger:
branch:
- main
---
kind: pipeline
name: dev
steps:
- name: build
image: klakegg/hugo:ext-alpine-ci
commands:
- hugo --config config.dev.toml --minify
- name: publish
image: itsblue.dev/plugins/codeberg-pages-deploy
settings:
folder: public
git_branch: pages-dev
ssh_key:
from_secret: gitea-ssh-key
trigger:
branch:
- dev