github.io/.drone.yml

34 lines
577 B
YAML
Raw Normal View History

2023-02-06 03:52:11 +00:00
---
kind: pipeline
type: docker
name: build and publish
steps:
- name: build
2023-02-06 04:32:04 +00:00
image: registry.42069.no/build/hugo
2023-02-06 04:50:09 +00:00
volumes:
- name: public
path: /work/public
2023-02-06 04:09:51 +00:00
commands:
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
2023-02-06 03:52:11 +00:00
- name: publish
image: plugins/gh-pages
2023-02-06 04:50:09 +00:00
volumes:
- name: public
path: /public
settings:
2023-02-06 04:50:09 +00:00
pages_directory: /public
target_branch: master
username: Ghost-Zephyr
password:
from_secret: password
2023-02-06 04:50:09 +00:00
volumes:
- name: public
temp: {}
2023-02-06 04:32:04 +00:00
image_pull_secrets:
2023-02-06 04:33:59 +00:00
- registry