...
 
Commits (2)
stages:
- build
- staging
- deploy
build:lektor:
stage: build
......@@ -11,3 +14,33 @@ build:lektor:
artifacts:
paths:
- www
staging:testing:
stage: staging
image: nikolaik/python-nodejs
environment:
name: staging
url: https://www.test.mittelab.org
before_script:
- pipenv install
script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing
only:
- master
deploy:production:
stage: deploy
image: nikolaik/python-nodejs
environment:
name: deploy
url: https://www.mittelab.org
before_script:
- pipenv install
script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production
only:
- master
when: manual
......@@ -21,13 +21,13 @@ locale = si_SI
name = Production
enabled = yes
default = no
target = rsync://dws/home/mittelab/www/
target = rsync://srv01.delex-ws.net:11119/home/mittelab/www/
[servers.testing]
name = Testing
enabled = yes
default = yes
target = rsync://dws/home/mittelab/subdomains/test/
target = rsync://srv01.delex-ws.net:11119/home/mittelab/subdomains/test/
[packages]
lektor-webpack-support = 0.3