From e6b7712657dba259e080a0903e097a6291599933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabella=20Sko=C5=99epov=C3=A1?= <isabella@skorepova.info> Date: Wed, 22 Jan 2020 20:10:54 +0100 Subject: [PATCH] It's --prod not --dist --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dea64629..f71124c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ deploy: - apt -y install rsync - rm -rf build - npm ci - - node ./index.js --dist + - node ./index.js --prod - echo "$DEPLOY_SSH_KEY" > sshkey - chmod 600 sshkey - rsync -e 'ssh -i sshkey -o StrictHostKeyChecking=no' -rc --delete build/ $SSH_HOST:$HTML_DIR/ -- GitLab