Skip to content
Snippets Groups Projects
Commit 52d33c4b authored by Mateusz Mikołajczak's avatar Mateusz Mikołajczak
Browse files

build: add deploy staging to .gitlab-ci.yml

parent 2bab9b2d
No related branches found
No related tags found
1 merge request!223reset the pin numbers before search results are fetch (so the results will be...
Pipeline #78429 passed
stages:
- lint
- test
- deploy
cache:
paths:
- ~/.cache
......@@ -50,4 +51,13 @@ jest:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
deploy_staging:
image: node:16.16.0
stage: deploy
only:
- development
script:
- npm install --global vercel
- vercel pull --yes --environment=preview --token=$VERCEL_TOKEN
- vercel build --token=$VERCEL_TOKEN
- vercel deploy --prebuilt --token=$VERCEL_TOKEN
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment