Created
November 23, 2018 16:33
-
-
Save miladvafaeifard/33a3bfe0858c7c9c693e69c7cbee69d9 to your computer and use it in GitHub Desktop.
deploy to heroku
This file contains hidden or 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
image: node:8.9.1 | |
cache: | |
paths: | |
- node_modules/ | |
stages: | |
- deploy | |
deploy_staging: | |
stage: deploy | |
script: | |
- git remote add heroku https://heroku:[email protected]/test-sc.git | |
- git push heroku master | |
- echo "Deployed to staging server" | |
environment: staging | |
only: | |
- backend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment