www/.drone.yml
Simon Marsh 3970981f1b
All checks were successful
continuous-integration/drone/push Build is passing
test pipeline
2021-12-27 14:15:48 +00:00

33 lines
491 B
YAML

---
kind: pipeline
type: docker
name: deploy
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.91.2
validate: true
#- name: deploy
# image: alpine
# environment:
# VAULT_TOKEN:
# from_secret: WWW_DEPLOY_TOKEN
# commands:
# - apk add --update bash openssh-client
# - ./push.sh
# when:
# branch: master
# event: push
---
kind: secret
name: WWW_DEPLOY_TOKEN
get:
path: burble.dn42/kv/data/drone/rsync
name: VAULT_TOKEN
# end of file