Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
36fda23c9a
commit
8b5e8a4d52
16
.drone.yml
16
.drone.yml
@ -1,11 +1,15 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: hello-world
|
name: example
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: say-hello
|
- name: print-original-author
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "Hello, World!"
|
- echo "Original author: $DRONE_COMMIT_AUTHOR"
|
||||||
- echo $DRONE_COMMIT_AUTHOR
|
|
||||||
- $DRONE_COMMIT_AUTHOR=nadpisanie
|
- name: override-author
|
||||||
- echo $DRONE_COMMIT_AUTHOR
|
image: alpine
|
||||||
|
environment:
|
||||||
|
DRONE_COMMIT_AUTHOR: "CustomAuthor"
|
||||||
|
commands:
|
||||||
|
- echo "Overridden author: $DRONE_COMMIT_AUTHOR"
|
||||||
|
Loading…
Reference in New Issue
Block a user