Skip to content
Snippets Groups Projects
Commit f155c238 authored by Arie Peterson's avatar Arie Peterson
Browse files

Process comments

parent b6fa9529
No related branches found
No related tags found
1 merge request!10Resolve "Deploy to hosting platform"
......@@ -10,15 +10,10 @@ test:
key: "pnpm-store"
paths:
- ".pnpm-store"
# multiple cache are enabled from gitlab 13.11 on
# - key: "node-modules"
# paths:
# - "node_modules"
before_script:
- npm install --global pnpm
- pnpm config set store-dir .pnpm-store
- pnpm install
- pnpm install js-yaml jest
script:
- pnpx jest src/ --coverage --coverageReporters cobertura
coverage: /All\sfiles.*?\s+(\d+.\d+)/
......@@ -44,22 +39,21 @@ build:
- build
# Deploy main branch to contact.greenhost.net
deploy-production:
deploy-testing:
stage: deploy
# Only run this job for the main branch.
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
image: debian:10
environment:
name: production
url: https://contact.greenhost.net
name: testing
url: https://contact.greenhost.net/testing
variables:
ENVIRONMENT: 'production'
FTP_USER: 'webmaster_greenhost_nl'
FTP_HOST: 'ftp.greenhost.nl'
DOMAIN_NAME: 'greenhost.net'
SUBDOMAIN: 'contact'
SUBFOLDER: '/development'
SUBFOLDER: '/testing'
BUILD_FOLDER: './build'
before_script:
- apt-get update
......
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