-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlab-cy.yml
More file actions
37 lines (31 loc) · 750 Bytes
/
Copy pathgitlab-cy.yml
File metadata and controls
37 lines (31 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
image: node:8.16.2-alpine
stages:
- install_Dependencies
- test
- deploy
cache:
paths:
- node_modules/
install_dependencies:
stage: install_Dependencies
script:
- yarn install
artifacts:
paths:
- node_modules/
test:
stage: install_Dependencies
script:
- yarn test
# deploy_to_production:
# stage: deploy
# image: php:7.2-apache
# script:
# - curl -S "https://gitlab.com/chinloyal/ftp-deploy-tool/raw/master/deployment.phar" --output deployment.phar
# - cat $ENV > .env
# - echo remote = $FTP_HOST >> deployment.ini
# - echo user = $FTP_USER >> deployment.ini
# - echo password = $FTP_PASSWORD >> deployment.ini
# - php deployment.phar deployment.ini
# only:
# - master