Skip to content

Commit

Permalink
Fix malformed shell script example in set-variables.md (platformsh#4138)
Browse files Browse the repository at this point in the history
* Fix malformed shell script example in set-variables.md

* missing upsun template update

---------

Co-authored-by: Florent Huck <[email protected]>
Co-authored-by: Chad Carlson <[email protected]>
  • Loading branch information
3 people authored Aug 5, 2024
1 parent d525ed2 commit 74f0984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sites/platform/src/development/variables/set-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ if [ -f "deploy/environment.tracker.txt" ]; then
else
echo "File not found."
export DEPLOY='Never on a Friday'
fi
```

While sanity checks like this are useful during troubleshooting, you shouldn't include such commands in your final code.
Expand Down
1 change: 1 addition & 0 deletions sites/upsun/src/development/variables/set-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ if [ -f "deploy/environment.tracker.txt" ]; then
else
echo "File not found."
export DEPLOY='Never on a Friday'
fi
```

While sanity checks like this are useful during troubleshooting, you shouldn't include such commands in your final code.
Expand Down

0 comments on commit 74f0984

Please sign in to comment.