Skip to content

Commit

Permalink
enhance: clarify environment usage (go-vela#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnguyen886 authored Aug 2, 2023
1 parent e793932 commit 0597184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/tour/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ environment:
stages:
hello:
environment:
hello_message: Hello, World!
HELLO_MESSAGE: Hello, World!
steps:
- name: Vela Platform ENV
image: alpine
Expand All @@ -55,11 +55,11 @@ stages:
# This ":0:8" shorthand will cut the value of the commit
# down to just the first 0 through 8 characters of the sha.
- echo ${VELA_BUILD_COMMIT:0:8}
- echo ${GOODBYE_MESSAGE}
- echo ${goodbye_message}
```
<!-- section break -->
**Tag references:**
[`name:`](/docs/reference/yaml/steps/#the-name-tag), [`image:`](/docs/reference/yaml/steps/#the-image-tag), [`environment:`](/docs/reference/yaml/steps/#the-environment-tag), [`commands:`](/docs/reference/yaml/steps/#the-commands-tag),
[`name:`](/docs/reference/yaml/steps/#the-name-tag), [`image:`](/docs/reference/yaml/steps/#the-image-tag), [`environment:`](/docs/reference/yaml/steps/#the-environment-tag), [`commands:`](/docs/reference/yaml/steps/#the-commands-tag),

0 comments on commit 0597184

Please sign in to comment.