Skip to content

Instantly share code, notes, and snippets.

@alexgtn
Last active December 6, 2020 10:40
Embed
What would you like to do?
Simple Gitlab CI config (VueJS tests and deploy to Heroku)
image: node:15
stages:
- test
- deploy
test:
stage: test
script:
- yarn install
- yarn test
deploy:
stage: deploy
script:
- git push https://$HEROKU_USER:$HEROKU_API_KEY@git.heroku.com/vue-cicd.git HEAD:refs/heads/master
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment