Skip to content

Instantly share code, notes, and snippets.

@sj26
Created August 22, 2019 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sj26/bf45e89add7337568a9a18a2be70b353 to your computer and use it in GitHub Desktop.
Save sj26/bf45e89add7337568a9a18a2be70b353 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
echo "running script"
buildkite-agent pipeline upload <<YAML
- trigger: triggered-with-metadata
label: ":rocket:"
branches: "master"
async: true
build:
commit: "$BUILDKITE_COMMIT"
branch: "$BUILDKITE_BRANCH"
message: "$BUILDKITE_MESSAGE"
YAML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment