example-app/.drone.yml

16 lines
313 B
YAML
Raw Normal View History

2024-08-23 20:56:06 +00:00
kind: pipeline
2024-08-23 21:09:28 +00:00
name: example
2024-08-23 20:56:06 +00:00
steps:
2024-08-23 21:09:28 +00:00
- name: print-original-author
2024-08-23 20:56:06 +00:00
image: alpine
commands:
2024-08-23 21:09:28 +00:00
- echo "Original author: $DRONE_COMMIT_AUTHOR"
- name: override-author
image: alpine
environment:
2024-08-23 21:11:07 +00:00
# DRONE_COMMIT_AUTHOR: "CustomAuthor"
# commands:
# - echo "Overridden author: $DRONE_COMMIT_AUTHOR"