Skip to content

Instantly share code, notes, and snippets.

@alexgtn
Last active December 6, 2020 10:40
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 alexgtn/1efb21c8975174c17416dc2cc82cdf0c to your computer and use it in GitHub Desktop.
Save alexgtn/1efb21c8975174c17416dc2cc82cdf0c to your computer and use it in GitHub Desktop.
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