Skip to content
Snippets Groups Projects
Commit a9f43e2b authored by LEKHLAIKH Taha's avatar LEKHLAIKH Taha
Browse files

Update .gitlab-ci.yml file

parent 5d7e6db1
Branches
No related tags found
No related merge requests found
Pipeline #7216 canceled
......@@ -4,12 +4,7 @@ stages:
- test
- deploy
deploy:
stage: deploy
script:
- npm run deploy -- --token $SURGE_TOKEN
rules:
- if: $CI_COMMIT_BRANCH == "master"
build:
stage: build
......@@ -18,10 +13,6 @@ build:
lint:
stage: test
script:
- npm run lint
.cypress:
......@@ -43,5 +34,10 @@ e2e_tests:
- job: build
artifacts: true
deploy:
stage: deploy
script:
- npm run deploy -- --token $SURGE_TOKEN
rules:
- if: $CI_COMMIT_BRANCH == "master"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment