23 lines
379 B
YAML
23 lines
379 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
|
|
steps:
|
|
- name: kool stuff
|
|
environment:
|
|
SECRET_DATA:
|
|
from_secret: test_secret
|
|
commands:
|
|
- echo "$(date)" >> /tmp/drone-tests
|
|
- echo $SECRET_DATA
|
|
- echo "$(date) $SECRET_DATA" >> /tmp/drone-tests-secrets
|
|
- name: copy to folder
|
|
commands:
|
|
- cd /var/www/vdk2ch
|
|
- git pull |