Skip to content
Snippets Groups Projects
Commit 53f414c1 authored by Josep Andre Ginting's avatar Josep Andre Ginting
Browse files

Merge branch 'feature/pipeline' into 'develop'

Feature/pipeline

See merge request !15
parents b7fb0131 306d19fb
2 merge requests!16Release/1.0,!15Feature/pipeline
Pipeline #21245 passed with stages
in 53 seconds
......@@ -8,6 +8,7 @@ before_script:
stages:
- test
- delete
- deploy
# lint and test are two different jobs in the same stage.
......@@ -26,9 +27,20 @@ lint:
# - npm run test
# # ToDo: Add coverage
# deployToAWS:
# only:
# - master
# stage: deploy
# script:
# - bash deploy/deploy.sh
\ No newline at end of file
delete_folder:
stage: delete
script:
- rm -f -R ws-transaksi
allow_failure: true
deployAws:
# only:
# - master
# - develop
stage: deploy
script:
- pwd
- git clone git@gitlab.informatika.org:if3110-2019-02-k03-04/ws-transaksi.git
- pwd
- pm2 kill
- pm2 start index.js
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment