Created
April 10, 2018 14:45
-
-
Save robertstettner/2a0c55d94e3d226e850821514144c88a to your computer and use it in GitHub Desktop.
Example Drone file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline: | |
install: | |
image: node:6.13 | |
commands: | |
- npm install | |
test: | |
image: node:6.13 | |
commands: | |
- npm test | |
deploy: | |
image: hashicorp/terraform | |
commands: | |
- cd ./terraform | |
- terraform apply -auto-approve | |
when: | |
branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment