All checks were successful
continuous-integration/drone/push Build is passing
33 lines
491 B
YAML
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 |