Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cdf7756

Browse files
authored
Update .gitlab-ci.yml
1 parent f83e338 commit cdf7756

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.gitlab-ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
stages:
2-
- lint
2+
- deploy
33

4-
job:
5-
stage: lint
4+
deploy_production:
5+
stage: deploy
6+
environment:
7+
name: production
8+
url: https://docs.hackerone.com
69
image: node:11
7-
tags:
8-
- runner-small
910
script:
11+
- echo "Deploy to production server"
1012
- yarn install
11-
- yarn lint
13+
- yarn deploy
14+
only:
15+
- master

0 commit comments

Comments
 (0)