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

Rename `testing` env to `staging`

parent d5be1963
No related branches found
No related tags found
1 merge request!10Resolve "Deploy to hosting platform"
......@@ -39,21 +39,21 @@ build:
- build
# Deploy main branch to contact.greenhost.net
deploy-testing:
deploy-staging:
stage: deploy
# Only run this job for the main branch.
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
image: debian:10
environment:
name: testing
url: https://contact.greenhost.net/testing
name: staging
url: https://contact.greenhost.net/staging
variables:
FTP_USER: 'webmaster_greenhost_nl'
FTP_HOST: 'ftp.greenhost.nl'
DOMAIN_NAME: 'greenhost.net'
SUBDOMAIN: 'contact'
SUBFOLDER: '/testing'
SUBFOLDER: '/staging'
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