diff options
| -rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6271039..2b2bedd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,9 +2,21 @@ cache: paths: - node_modules/ +stages: + - build + - deploy + build: stage: build image: node:12 script: - npm install - npm run start + +deploy_prod: + stage: deploy + script: + - echo "Deploying to production!" + environment: + name: prod + url: https://spluseins.de |
