Created
February 2, 2019 17:56
-
-
Save a-m-dev/072ee945fea4ff32302f573974d28114 to your computer and use it in GitHub Desktop.
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
stages: | |
- develop | |
job_develop: | |
stage: develop | |
only: | |
- develop | |
tags: | |
- develop | |
script: | |
- rm ./package-lock.json | |
- npm cache clear --force | |
- npm install | |
- npm run serverBuild | |
- rm -r /home/uneed/webApp-main | |
- mkdir /home/uneed/webApp-main | |
- cp -r ./. /home/uneed/webApp-main | |
- cd /home/uneed/webApp-main | |
- pm2 restart npm -- run serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment