.gitlab-ci.yml 412 Bytes
Newer Older
Wolfgang Knopki's avatar
Wolfgang Knopki committed
1
2
3
4
5
6
7
8
9
10
pages-devel:    
  stage: deploy
  script:
    - npm install
    - "pm2 delete --silent project || :"
    - pm2 start ./app.js --name=project
    - pm2 save
  tags: 
    - testing
  only: 
Wolfgang Knopki's avatar
Wolfgang Knopki committed
11
12
13
14
15
16
17
18
19
20
21
22
23
    - testing
    
pages-devel:    
  stage: deploy
  script:
    - npm install
    - "pm2 delete --silent project || :"
    - pm2 start ./app.js --name=project
    - pm2 save
  tags: 
    - production
  only: 
    - master