Commit 6226a5ee authored by Pietro Saccardi's avatar Pietro Saccardi

Specifying user for deployment

parent 1b34d90f
Pipeline #511 passed with stages
in 9 minutes and 59 seconds
......@@ -36,7 +36,7 @@ staging:testing:
name: staging
url: https://www.test.mittelab.org
script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" testing
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" testing
deploy:production:
......@@ -46,7 +46,7 @@ deploy:production:
name: deploy
url: https://www.mittelab.org
script:
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" --username "${DEPLOY_USER}" production
- pipenv run lektor deploy -O www --key "${DEPLOY_KEY}" production
when: manual
dependencies:
- build:lektor
......
......@@ -21,13 +21,13 @@ locale = si_SI
name = Production
enabled = yes
default = no
target = rsync://srv01.delex-ws.net:11119/home/mittelab/www/
target = rsync://mittelab@srv01.delex-ws.net:11119/home/mittelab/www/
[servers.testing]
name = Testing
enabled = yes
default = yes
target = rsync://srv01.delex-ws.net:11119/home/mittelab/subdomains/test/
target = rsync://mittelab@srv01.delex-ws.net:11119/home/mittelab/subdomains/test/
[packages]
lektor-webpack-support = 0.3
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