2022-10-17 01:01:07 +10:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: kool stuff
|
2022-10-17 02:31:39 +10:00
|
|
|
environment:
|
|
|
|
SECRET_DATA:
|
2022-10-17 02:33:47 +10:00
|
|
|
from_secret: test_secret
|
2022-10-17 01:42:35 +10:00
|
|
|
commands:
|
|
|
|
- echo "$(date)" >> /tmp/drone-tests
|
2022-10-17 02:31:39 +10:00
|
|
|
- echo $SECRET_DATA
|
2022-10-17 02:32:38 +10:00
|
|
|
- echo "$(date) $SECRET_DATA" >> /tmp/drone-tests-secrets
|
2022-10-17 01:42:35 +10:00
|
|
|
- name: copy to folder
|
2022-10-17 01:01:07 +10:00
|
|
|
commands:
|
2022-10-17 01:42:35 +10:00
|
|
|
- cd /var/www/vdk2ch
|
2022-10-17 01:33:23 +10:00
|
|
|
- git pull
|