Skip to content
GitLab
Explore
Sign in
You need to sign in or sign up before continuing.
Commits on Source (2)
Updating lektor deploy settings
· 9c4cb8a6
Pietro Saccardi
authored
Feb 02, 2019
9c4cb8a6
Automatic deploy.
· 635b75af
Pietro Saccardi
authored
Feb 02, 2019
635b75af
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
635b75af
stages
:
stages
:
-
build
-
build
-
staging
-
deploy
build:lektor
:
build:lektor
:
stage
:
build
stage
:
build
...
@@ -11,3 +14,33 @@ build:lektor:
...
@@ -11,3 +14,33 @@ build:lektor:
artifacts
:
artifacts
:
paths
:
paths
:
-
www
-
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
website.lektorproject
View file @
635b75af
...
@@ -21,13 +21,13 @@ locale = si_SI
...
@@ -21,13 +21,13 @@ locale = si_SI
name = Production
name = Production
enabled = yes
enabled = yes
default = no
default = no
target = rsync://
dws
/home/mittelab/www/
target = rsync://
srv01.delex-ws.net:11119
/home/mittelab/www/
[servers.testing]
[servers.testing]
name = Testing
name = Testing
enabled = yes
enabled = yes
default = yes
default = yes
target = rsync://
dws
/home/mittelab/subdomains/test/
target = rsync://
srv01.delex-ws.net:11119
/home/mittelab/subdomains/test/
[packages]
[packages]
lektor-webpack-support = 0.3
lektor-webpack-support = 0.3