example-app/.drone.yml
standard-user 5cff8af138
Some checks failed
continuous-integration/drone Build is failing
Update .drone.yml
2024-08-23 21:16:22 +00:00

17 lines
339 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"