Skip to content
Snippets Groups Projects
Select Git revision
  • 5a9b3d8e612737eebbcf9f6b1e10d8882e600429
  • main default protected
2 results

.gitlab-ci.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    .gitlab-ci.yml 372 B
    stages:
      - build_stage
      - deploy_stage
    
    build:
      stage: build_stage
      image: node
      script:
    #- apt update -y
       # - apt install npm -y
        - npm install
      artifacts:
        paths:
          - node_modules
          - package-lock.json
    
    
    
    deploy:
      stage: deploy_stage
      image : node
      script:
      #  - apt update -y
      #  - apt install nodejs -y
        - node app.js > /dev/null 2>&1 &