Skip to content

Instantly share code, notes, and snippets.

@tlipinski
Last active May 8, 2019 19:48
Show Gist options
  • Save tlipinski/c8525303992b29b1f62d75e60f00ab40 to your computer and use it in GitHub Desktop.
Save tlipinski/c8525303992b29b1f62d75e60f00ab40 to your computer and use it in GitHub Desktop.
image: alpine
before_script:
- env | sort
stages:
- testing
- deploying
test:
stage: testing
script:
- ls -la
- git status
environment:
name: $CI_COMMIT_SHORT_SHA
only:
variables:
- $VAR == "value"
deployx:
stage: deploying
script:
- ls
environment:
name: $CI_COMMIT_SHORT_SHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment