Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
standard-user 2024-08-23 21:09:28 +00:00
parent 36fda23c9a
commit 8b5e8a4d52

View File

@ -1,11 +1,15 @@
kind: pipeline
name: hello-world
name: example
steps:
- name: say-hello
- name: print-original-author
image: alpine
commands:
- echo "Hello, World!"
- echo $DRONE_COMMIT_AUTHOR
- $DRONE_COMMIT_AUTHOR=nadpisanie
- echo $DRONE_COMMIT_AUTHOR
- echo "Original author: $DRONE_COMMIT_AUTHOR"
- name: override-author
image: alpine
environment:
DRONE_COMMIT_AUTHOR: "CustomAuthor"
commands:
- echo "Overridden author: $DRONE_COMMIT_AUTHOR"