Skip to content

Instantly share code, notes, and snippets.

@niceking
Last active November 2, 2020 02:37
Show Gist options
  • Save niceking/25079cf4369e84a8edfcd3f0e9b1ad2e to your computer and use it in GitHub Desktop.
Save niceking/25079cf4369e84a8edfcd3f0e9b1ad2e to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "steps:"
if [[ $(date +%u) -gt 4 ]]
then
echo " - block: \"Build on a weekend?\""
echo " - wait"
fi
echo " - label: \":rocket:\""
echo " command: \"echo 'hi'\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment