2022-10-17 01:01:07 +10:00
|
|
|
|
---
|
|
|
|
|
kind: pipeline
|
|
|
|
|
type: exec
|
|
|
|
|
name: default
|
|
|
|
|
|
|
|
|
|
platform:
|
|
|
|
|
os: linux
|
|
|
|
|
arch: amd64
|
|
|
|
|
|
2022-10-17 13:42:19 +10:00
|
|
|
|
clone:
|
|
|
|
|
# убрано так как сейчас не тестим ничего предварительно а сразу тянем в директорию
|
|
|
|
|
disable: true
|
2022-10-17 01:01:07 +10:00
|
|
|
|
|
|
|
|
|
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:
|
2022-10-17 02:35:12 +10:00
|
|
|
|
- echo "$(date) \"$SECRET_DATA\"" >> /tmp/drone-tests
|
2022-10-17 13:42:19 +10:00
|
|
|
|
- name: pull into the folduh
|
2022-10-17 01:01:07 +10:00
|
|
|
|
commands:
|
2022-10-17 02:35:12 +10:00
|
|
|
|
- cd /var/www/vdk2ch
|
2022-10-17 01:33:23 +10:00
|
|
|
|
- git pull
|