example-app/.drone.yml
standard-user 983e683ecb
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
Update .drone.yml
2024-08-23 21:17:22 +00:00

17 lines
338 B
YAML

kind: pipeline
name: example
steps:
- name: print-original-author
image: alpine
commands:
- echo "Original author $DRONE_COMMIT_AUTHOR"
- name: override-author
image: alpine
environment:
DRONE_COMMIT_AUTHOR: "CustomAuthor"
commands:
- DRONE_COMMIT_AUTHOR="test"
- echo "Overridden author $DRONE_COMMIT_AUTHOR"