Commit 635b75af authored by Pietro Saccardi's avatar Pietro Saccardi

Automatic deploy.

parent 9c4cb8a6
Pipeline #505 failed with stages
in 7 minutes and 42 seconds
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment